This commit is contained in:
parent
b85480c2cd
commit
c68a946a81
@ -370,8 +370,11 @@ void CProjectile::collidedWith(CThing *_thisThing)
|
||||
|
||||
player->takeDamage( DAMAGE__HIT_ENEMY );
|
||||
|
||||
if ( m_lifetimeType != PROJECTILE_INFINITE_LIFE )
|
||||
{
|
||||
shutdown();
|
||||
delete this;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user