Don't require alive target for env_blowercannon

This commit is contained in:
Roman Chistokhodov 2019-10-29 04:24:52 +03:00
parent c0aeed9a3f
commit 810719f61f

View File

@ -287,7 +287,7 @@ void CBlowerCannon::BlowerCannonThink( void )
{
CBaseEntity *pTarget = GetNextTarget();
if( pTarget && pTarget->IsAlive() )
if( pTarget )
{
Vector direction = pTarget->pev->origin - pev->origin;
direction.z = m_iZOffSet + pTarget->pev->origin.z - pev->origin.z;