mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Remove dead gfTransitionMapscreenToAutoResolve flag
The flag was initialized FALSE (mapscreen.cpp), read once in HandlePreBattleInterfaceStates, and only ever set FALSE — never TRUE anywhere in the tree. Its else-if branch was unreachable and its body did nothing but re-clear the always-false flag. Verify: grep 'gfTransitionMapscreenToAutoResolve' across the tree now hits nothing. Build: JA2. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
committed by
majcosta
co-authored by
Claude Opus 4.8
parent
dbf6e1cd10
commit
f1d5431660
@@ -466,10 +466,6 @@ BOOLEAN gfCharacterListInited = FALSE;
|
||||
|
||||
BOOLEAN gfGlowTimerExpired = FALSE;
|
||||
|
||||
//not required to be saved. The flag is set to allow mapscreen to render once, then transition the
|
||||
//current tactical battle into autoresolve.
|
||||
BOOLEAN gfTransitionMapscreenToAutoResolve = FALSE;
|
||||
|
||||
BOOLEAN gfSkyriderEmptyHelpGiven = FALSE;
|
||||
|
||||
BOOLEAN gfRequestGiveSkyriderNewDestination = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user