Update CTakeDamageInfoHack in SDK Hooks for semi-recent game/SDK updates.

This commit is contained in:
Nicholas Hastings 2015-11-11 13:12:04 -05:00
parent 5f9aaadacb
commit a4d06e1077

View File

@ -76,6 +76,14 @@ CTakeDamageInfoHack::CTakeDamageInfoHack( CBaseEntity *pInflictor, CBaseEntity *
m_bForceFriendlyFire = false;
#endif
#if SOURCE_ENGINE == SE_CSS || SOURCE_ENGINE == SE_HL2DM || SOURCE_ENGINE == SE_DODS || SOURCE_ENGINE == SE_TF2
m_flDamageForForce = 0.f;
#endif
#if SOURCE_ENGINE == SE_TF2
m_eCritType = kCritType_None;
#endif
#if SOURCE_ENGINE >= SE_ALIENSWARM
m_flRadius = 0.0f;
#endif