mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-11 14:34:22 +00:00
Fix wrong check.
This commit is contained in:
parent
15abd8f0f1
commit
a0d5597db5
@ -566,7 +566,7 @@ void CHoundeye::SonicAttack( void )
|
||||
// iterate on all entities in the vicinity.
|
||||
while( ( pEntity = UTIL_FindEntityInSphere( pEntity, pev->origin, HOUNDEYE_MAX_ATTACK_RADIUS ) ) != NULL )
|
||||
{
|
||||
if( pEntity->pev->takedamage == DAMAGE_NO )
|
||||
if( pEntity->pev->takedamage != DAMAGE_NO )
|
||||
{
|
||||
if( pEntity->IsPlayer() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user