mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
Fix wrong check.
This commit is contained in:
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user