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:
Kelsi 2026-03-29 18:11:37 -07:00
parent 35b952bc6f
commit a30c7f4b1a

View file

@ -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;