Skip to content

Commit 01b8b29

Browse files
committed
docs: Add comment
1 parent 7f159ad commit 01b8b29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Die/CreateObjectDie.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ void CreateObjectDie::onDie( const DamageInfo * damageInfo )
143143
}
144144
}
145145

146+
// TheSuperHackers @bugfix Stubbjax 02/10/2025 If the old object was selected, select the new one.
147+
// This is important for the Sneak Attack, which is spawned via a CreateObjectDie module.
146148
if (data->m_transferSelection)
147149
{
148150
Object* oldObject = getObject();

0 commit comments

Comments
 (0)