From a0d5597db5b49723c90fade3a291293222d25ea3 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Thu, 12 Jul 2018 10:26:04 +0500 Subject: [PATCH] Fix wrong check. --- dlls/houndeye.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/houndeye.cpp b/dlls/houndeye.cpp index 4cb62538..9ce13bc0 100644 --- a/dlls/houndeye.cpp +++ b/dlls/houndeye.cpp @@ -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() ) {