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:
Marco Antonio J. Costa
2026-08-02 14:58:24 -03:00
committed by majcosta
co-authored by Claude Opus 4.8
parent dbf6e1cd10
commit f1d5431660
2 changed files with 0 additions and 9 deletions
-4
View File
@@ -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;