1
0
mirror of https://github.com/YGGverse/hlsdk-portable.git synced 2025-08-27 14:22:08 +00:00

Fix wrong check.

This commit is contained in:
Night Owl 2017-07-02 02:42:30 +05:00
parent d20c4ff329
commit c28d86f748

@ -511,7 +511,7 @@ int CBaseEntity::TakeDamage( entvars_t *pevInflictor, entvars_t *pevAttacker, fl
// (that is, no actual entity projectile was involved in the attack so use the shooter's origin).
if( pevAttacker == pevInflictor )
{
vecTemp = pevInflictor->origin - VecBModelOrigin( pev );
vecTemp = pevAttacker->origin - VecBModelOrigin( pev );
}
else
// an actual missile was involved.