File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream
Generals/Code/GameEngine/Source/GameClient/MessageStream Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -3427,6 +3427,8 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
34273427 Drawable *draw = TheTacticalView->pickDrawable (&msg->getArgument (0 )->pixelRegion .lo ,
34283428 TheInGameUI->isInForceAttackMode (),
34293429 (PickType) pickType);
3430+
3431+ // TheSuperHackers @bugfix Stubbjax 07/08/2025 Prevent dead units blocking positional context commands
34303432 Object* obj = draw ? draw->getObject () : NULL ;
34313433 if (!obj || (obj->isEffectivelyDead () && !obj->isKindOf (KINDOF_ALWAYS_SELECTABLE)))
34323434 {
@@ -3486,6 +3488,8 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
34863488 Drawable *draw = TheTacticalView->pickDrawable (&msg->getArgument (0 )->pixelRegion .lo ,
34873489 TheInGameUI->isInForceAttackMode (),
34883490 (PickType) pickType);
3491+
3492+ // TheSuperHackers @bugfix Stubbjax 07/08/2025 Prevent dead units blocking positional context commands
34893493 Object* obj = draw ? draw->getObject () : NULL ;
34903494 if (!obj || (obj->isEffectivelyDead () && !obj->isKindOf (KINDOF_ALWAYS_SELECTABLE)))
34913495 {
Original file line number Diff line number Diff line change @@ -3795,6 +3795,8 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
37953795 Drawable *draw = TheTacticalView->pickDrawable (&msg->getArgument (0 )->pixelRegion .lo ,
37963796 TheInGameUI->isInForceAttackMode (),
37973797 (PickType) pickType);
3798+
3799+ // TheSuperHackers @bugfix Stubbjax 07/08/2025 Prevent dead units blocking positional context commands
37983800 Object* obj = draw ? draw->getObject () : NULL ;
37993801 if (!obj || (obj->isEffectivelyDead () && !obj->isKindOf (KINDOF_ALWAYS_SELECTABLE)))
38003802 {
@@ -3872,6 +3874,8 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
38723874 Drawable *draw = TheTacticalView->pickDrawable (&msg->getArgument (0 )->pixelRegion .lo ,
38733875 TheInGameUI->isInForceAttackMode (),
38743876 (PickType) pickType);
3877+
3878+ // TheSuperHackers @bugfix Stubbjax 07/08/2025 Prevent dead units blocking positional context commands
38753879 Object* obj = draw ? draw->getObject () : NULL ;
38763880 if (!obj || (obj->isEffectivelyDead () && !obj->isKindOf (KINDOF_ALWAYS_SELECTABLE)))
38773881 {
You can’t perform that action at this time.
0 commit comments