File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream
Generals/Code/GameEngine/Source/GameClient/MessageStream Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1141,6 +1141,13 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
1141
1141
{
1142
1142
VecObjectPtr objlist = selectedSquad->getLiveObjects ();
1143
1143
Int numObjs = objlist.size ();
1144
+
1145
+ // TheSuperHackers @fix skyaero 22/07/2025 check to prevent group force attack exploit
1146
+ if (numObjs > 0 && objlist[0 ]->getDrawable ()->isKindOf (KINDOF_STRUCTURE))
1147
+ {
1148
+ TheInGameUI->deselectAllDrawables ();
1149
+ }
1150
+
1144
1151
for (Int i = 0 ; i < numObjs; ++i)
1145
1152
{
1146
1153
TheInGameUI->selectDrawable (objlist[i]->getDrawable ());
Original file line number Diff line number Diff line change @@ -1216,6 +1216,13 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
1216
1216
{
1217
1217
VecObjectPtr objlist = selectedSquad->getLiveObjects ();
1218
1218
Int numObjs = objlist.size ();
1219
+
1220
+ // TheSuperHackers @fix skyaero 22/07/2025 check to prevent group force attack exploit
1221
+ if (numObjs > 0 && objlist[0 ]->getDrawable ()->isKindOf (KINDOF_STRUCTURE))
1222
+ {
1223
+ TheInGameUI->deselectAllDrawables ();
1224
+ }
1225
+
1219
1226
for (Int i = 0 ; i < numObjs; ++i)
1220
1227
{
1221
1228
TheInGameUI->selectDrawable (objlist[i]->getDrawable ());
You can’t perform that action at this time.
0 commit comments