We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 783bdb7 commit d16e35fCopy full SHA for d16e35f
GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Body/UndeadBody.cpp
@@ -81,7 +81,11 @@ void UndeadBody::attemptDamage( DamageInfo *damageInfo )
81
82
if( damageInfo->in.m_damageType != DAMAGE_UNRESISTABLE
83
&& !m_isSecondLife
84
+#if RETAIL_COMPATIBLE_CRC
85
&& damageInfo->in.m_amount >= getHealth()
86
+#else
87
+ && estimateDamage(damageInfo->in) >= getHealth()
88
+#endif
89
&& IsHealthDamagingDamage(damageInfo->in.m_damageType)
90
)
91
{
0 commit comments