From 7703c1999fa58f3181690466d13d8e7fdde2f06f Mon Sep 17 00:00:00 2001 From: toaster Date: Fri, 22 Dec 2023 19:30:22 +0000 Subject: [PATCH] Obj_SPBEradicateCapsules: Only autodestroy if the type is KITEM_SPB --- src/objects/spb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects/spb.c b/src/objects/spb.c index 077e25173..103d95726 100644 --- a/src/objects/spb.c +++ b/src/objects/spb.c @@ -90,7 +90,7 @@ void Obj_SPBEradicateCapsules(void) if (mo->type != MT_ITEMCAPSULE) continue; - if (!mo->health || mo->fuse) + if (!mo->health || mo->fuse || mo->threshold != KITEM_SPB) continue; P_KillMobj(mo, NULL, NULL, DMG_NORMAL);