Skip to content

Commit 77f8b9c

Browse files
committed
refactor: Remove unused bool
1 parent 68459e7 commit 77f8b9c

File tree

2 files changed

+0
-4
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/ControlBar
  • Generals/Code/GameEngine/Source/GameClient/GUI/ControlBar

2 files changed

+0
-4
lines changed

Generals/Code/GameEngine/Source/GameClient/GUI/ControlBar/ControlBar.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,6 @@ void ControlBar::update( void )
14141414
populateObserverInfoWindow();
14151415

14161416
Drawable *drawToEvaluateFor = NULL;
1417-
Bool multiSelect = FALSE;
14181417
if( TheInGameUI->getSelectCount() > 1 )
14191418
{
14201419
// Attempt to isolate a Drawable here to evaluate
@@ -1423,7 +1422,6 @@ void ControlBar::update( void )
14231422
// but is represented in the UI as a single unit,
14241423
// so we must isolate and evaluate only the Nexus
14251424
drawToEvaluateFor = TheGameClient->findDrawableByID( TheInGameUI->getSoloNexusSelectedDrawableID() ) ;
1426-
multiSelect = ( drawToEvaluateFor == NULL );
14271425
}
14281426
else // get the first and only drawble in the selection list
14291427
// TheSuperHackers @fix Mauller 07/04/2025 The first access to this can return an empty list

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/ControlBar/ControlBar.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,6 @@ void ControlBar::update( void )
14371437
populateObserverInfoWindow();
14381438

14391439
Drawable *drawToEvaluateFor = NULL;
1440-
Bool multiSelect = FALSE;
14411440
if( TheInGameUI->getSelectCount() > 1 )
14421441
{
14431442
// Attempt to isolate a Drawable here to evaluate
@@ -1446,7 +1445,6 @@ void ControlBar::update( void )
14461445
// but is represented in the UI as a single unit,
14471446
// so we must isolate and evaluate only the Nexus
14481447
drawToEvaluateFor = TheGameClient->findDrawableByID( TheInGameUI->getSoloNexusSelectedDrawableID() ) ;
1449-
multiSelect = ( drawToEvaluateFor == NULL );
14501448
}
14511449
else // get the first and only drawble in the selection list
14521450
// TheSuperHackers @fix Mauller 07/04/2025 The first access to this can return an empty list

0 commit comments

Comments
 (0)