From 4dc1a404f630a964a05fa79d102d5f8c5b0086b9 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 17 Jan 2024 21:11:59 -0800 Subject: [PATCH] Battle UFO: fix Bubble blow-up collision --- src/p_map.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/p_map.c b/src/p_map.c index dbbbdc0bb..6ad4cc239 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -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