File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream
Generals/Code/GameEngine/Source/GameClient/MessageStream Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -957,8 +957,8 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
957957 }
958958 else
959959 {
960- // No GUI command mode, so deselect everyone if we're in regular mouse mode.
961960 // In alternate mouse mode, right click still cancels building placement.
961+ // TheSuperHackers @tweak Stubbjax 08/08/2025 Cancelling building placement no longer deselects the builder.
962962 if (TheInGameUI->getPendingPlaceSourceObjectID () != INVALID_ID)
963963 {
964964 TheInGameUI->placeBuildAvailable (NULL , NULL );
@@ -967,6 +967,7 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
967967 }
968968 else if (!TheGlobalData->m_useAlternateMouse )
969969 {
970+ // No GUI command mode, so deselect everyone if we're in regular mouse mode.
970971 deselectAll ();
971972 m_lastGroupSelGroup = -1 ;
972973 }
Original file line number Diff line number Diff line change @@ -1033,8 +1033,8 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
10331033 }
10341034 else
10351035 {
1036- // No GUI command mode, so deselect everyone if we're in regular mouse mode.
10371036 // In alternate mouse mode, right click still cancels building placement.
1037+ // TheSuperHackers @tweak Stubbjax 08/08/2025 Cancelling building placement no longer deselects the builder.
10381038 if (TheInGameUI->getPendingPlaceSourceObjectID () != INVALID_ID)
10391039 {
10401040 TheInGameUI->placeBuildAvailable (NULL , NULL );
@@ -1043,6 +1043,7 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
10431043 }
10441044 else if (!TheGlobalData->m_useAlternateMouse )
10451045 {
1046+ // No GUI command mode, so deselect everyone if we're in regular mouse mode.
10461047 deselectAll ();
10471048 }
10481049 }
You can’t perform that action at this time.
0 commit comments