- fixed crash when stomping shrunk enemies.

This commit is contained in:
Christoph Oelckers 2023-04-08 07:14:07 +02:00
parent 60339a217c
commit 9c164ad290

View file

@ -406,8 +406,8 @@ void dokneeattack(int snum)
}
else if (badguy(p->actorsqu))
{
p->actorsqu->Destroy();
addkill(p->actorsqu);
p->actorsqu->Destroy();
}
else p->actorsqu->Destroy();
}