Skip to content

Commit fc10fcc

Browse files
committed
docs: Add info comment
1 parent b4e6b0a commit fc10fcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Body/ActiveBody.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,6 +1323,8 @@ Bool ActiveBody::isSubdued() const
13231323
#if RETAIL_COMPATIBLE_CRC
13241324
return m_maxHealth <= m_currentSubdualDamage;
13251325
#else
1326+
// TheSuperHackers @info Projectiles don't receive the DISABLED_SUBDUED flag (or any flag for
1327+
// that matter) when jammed, so we have to check their subdual damage directly.
13261328
if (getObject()->isKindOf(KINDOF_PROJECTILE))
13271329
return m_maxHealth <= m_currentSubdualDamage;
13281330

0 commit comments

Comments
 (0)