File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/GUI/ControlBar Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1447,16 +1447,15 @@ void ControlBar::update( void )
14471447 // so we must isolate and evaluate only the Nexus
14481448 drawToEvaluateFor = TheGameClient->findDrawableByID ( TheInGameUI->getSoloNexusSelectedDrawableID () ) ;
14491449 multiSelect = ( drawToEvaluateFor == NULL );
1450-
14511450 }
14521451 else // get the first and only drawble in the selection list
14531452 // TheSuperHackers @fix Mauller 07/04/2025 The first access to this can return an empty list
14541453 if (!TheInGameUI->getAllSelectedDrawables ()->empty ()) {
14551454 drawToEvaluateFor = TheInGameUI->getAllSelectedDrawables ()->front ();
1456- Object *obj = drawToEvaluateFor ? drawToEvaluateFor->getObject () : NULL ;
1457- setPortraitByObject ( obj );
14581455 }
14591456
1457+ Object* obj = drawToEvaluateFor ? drawToEvaluateFor->getObject () : NULL ;
1458+ setPortraitByObject (obj);
14601459 return ;
14611460 }
14621461
You can’t perform that action at this time.
0 commit comments