File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Generals/Code/GameEngine/Source Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1105,8 +1105,7 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
1105
1105
else
1106
1106
{
1107
1107
1108
- // =================== Community Fix Start =================
1109
- // Backported Zero Hour 1.03 scud storm exploit fix //
1108
+ // TheSuperHackers @bugfix ShizCalev 04/04/2025 - Backported Zero Hour 1.03 scud storm exploit fix
1110
1109
Drawable *draw = TheInGameUI->getFirstSelectedDrawable ();
1111
1110
if ( draw && draw->isKindOf ( KINDOF_STRUCTURE ) )
1112
1111
{
@@ -1115,7 +1114,6 @@ GameMessageDisposition SelectionTranslator::translateGameMessage(const GameMessa
1115
1114
// group force attack exploit.
1116
1115
TheInGameUI->deselectAllDrawables ();
1117
1116
}
1118
- // =================== Community Fix End =================
1119
1117
1120
1118
// no need to send two messages for selecting the same group.
1121
1119
TheMessageStream->appendMessage ((GameMessage::Type)(GameMessage::MSG_ADD_TEAM0 + group));
Original file line number Diff line number Diff line change @@ -5264,16 +5264,14 @@ StateReturnType AIAttackState::onEnter()
5264
5264
return STATE_SUCCESS;
5265
5265
5266
5266
5267
- // =================== Community Fix Start =================
5268
- // Backported Zero Hour 1.03 scud storm exploit fix //
5267
+ // TheSuperHackers @bugfix ShizCalev 04/04/2025 - Backported Zero Hour 1.03 scud storm exploit fix
5269
5268
// Kris: Jan 12, 2005
5270
5269
// Don't allow units under construction to attack! The selection/action manager system was responsible for preventing this
5271
5270
// from ever happening, but failed in two cases which I fixed. This is an extra check to mitigate cheats.
5272
5271
if ( source->testStatus ( OBJECT_STATUS_UNDER_CONSTRUCTION ) )
5273
5272
{
5274
5273
return STATE_FAILURE;
5275
5274
}
5276
- // =================== Community Fix End =================
5277
5275
5278
5276
5279
5277
// if all of our weapons are out of ammo, can't attack.
You can’t perform that action at this time.
0 commit comments