Battle UFO: fix Bubble blow-up collision

This commit is contained in:
James R 2024-01-17 21:11:59 -08:00
parent 07ecf94999
commit 4dc1a404f6

View file

@ -768,13 +768,8 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
return BMIT_CONTINUE;
}
if (thing->type == MT_BATTLEUFO)
if (thing->type == MT_BATTLEUFO && tm.thing->player)
{
if (!tm.thing->player)
{
return BMIT_CONTINUE; // not a player
}
if (thing->health <= 0)
{
return BMIT_CONTINUE; // dead