Only inc objective count if not already dead.
This commit is contained in:
parent
22f42294a8
commit
30103bde5c
|
@ -94,7 +94,7 @@ static void action(void)
|
|||
throwDebris(s->x + s->w / 2, s->y + s->h / 2, 1);
|
||||
}
|
||||
|
||||
if (s->health <= -50)
|
||||
if (s->health <= -50 && s->alive != ALIVE_DEAD)
|
||||
{
|
||||
dropCarriedItem();
|
||||
|
||||
|
|
Loading…
Reference in New Issue