mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix auto-attack stalling after SMSG_ATTACKSTOP and remove stale comments
Re-send CMSG_ATTACKSWING every second while auto-attacking so combat resumes automatically when the server pauses the attack loop (out of range, etc). Previously the client kept autoAttacking=true but never re-engaged, requiring the player to manually right-click again. Also remove leftover single-player/offline references from comments.
This commit is contained in:
parent
22648870f3
commit
bd70ca17ca
5 changed files with 14 additions and 4 deletions
|
|
@ -771,7 +771,7 @@ void AmbientSoundManager::updateBellTolls(float deltaTime) {
|
|||
return;
|
||||
}
|
||||
|
||||
// Get current system time (server time for single-player)
|
||||
// Get current system time
|
||||
auto now = std::chrono::system_clock::now();
|
||||
std::time_t currentTime = std::chrono::system_clock::to_time_t(now);
|
||||
std::tm* localTime = std::localtime(¤tTime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue