mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 08:30:13 +00:00
Emulate server loot/xp and combat feedback in single-player
This commit is contained in:
parent
1383e6c159
commit
3ca8944ced
17 changed files with 830 additions and 29 deletions
|
|
@ -311,6 +311,13 @@ void Application::setState(AppState newState) {
|
|||
// Keep player locomotion WoW-like in both single-player and online modes.
|
||||
cc->setUseWoWSpeed(true);
|
||||
}
|
||||
if (gameHandler) {
|
||||
gameHandler->setMeleeSwingCallback([this]() {
|
||||
if (renderer) {
|
||||
renderer->triggerMeleeSwing();
|
||||
}
|
||||
});
|
||||
}
|
||||
break;
|
||||
case AppState::DISCONNECTED:
|
||||
// Back to auth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue