This commit is contained in:
Charles 2001-04-20 15:21:26 +00:00
parent b85480c2cd
commit c68a946a81

View File

@ -370,8 +370,11 @@ void CProjectile::collidedWith(CThing *_thisThing)
player->takeDamage( DAMAGE__HIT_ENEMY );
shutdown();
delete this;
if ( m_lifetimeType != PROJECTILE_INFINITE_LIFE )
{
shutdown();
delete this;
}
break;
}