This commit is contained in:
parent
9fb3df3054
commit
76a722c5ec
9 changed files with 197 additions and 10 deletions
|
@ -570,9 +570,10 @@ void CPlayerProjectile::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
CNpcEnemy *enemy = (CNpcEnemy *) _thisThing;
|
||||
|
||||
enemy->hasBeenAttacked();
|
||||
|
||||
setToShutdown();
|
||||
if ( enemy->hasBeenAttacked() )
|
||||
{
|
||||
setToShutdown();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue