mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-03 20:03:50 +00:00
fix: taxi recovery was dead code — flag cleared before check
taxiRecoverPending_ was unconditionally reset to false in the general state cleanup, 39 lines before the recovery check that reads it. The recovery block could never execute. Removed the premature clear so mid-flight disconnect recovery can actually trigger.
This commit is contained in:
parent
35b952bc6f
commit
a30c7f4b1a
1 changed files with 2 additions and 1 deletions
|
|
@ -4747,7 +4747,8 @@ void GameHandler::handleLoginVerifyWorld(network::Packet& packet) {
|
|||
taxiActivatePending_ = false;
|
||||
taxiClientActive_ = false;
|
||||
taxiClientPath_.clear();
|
||||
taxiRecoverPending_ = false;
|
||||
// taxiRecoverPending_ is NOT cleared here — it must survive the general
|
||||
// state reset so the recovery check below can detect a mid-flight reconnect.
|
||||
taxiStartGrace_ = 0.0f;
|
||||
currentMountDisplayId_ = 0;
|
||||
taxiMountDisplayId_ = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue