mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Emulate server loot/xp and combat feedback in single-player
This commit is contained in:
parent
1383e6c159
commit
e6e3093467
16 changed files with 824 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