Merge branch 'spb-capsules-emergency' into 'master'

Obj_SPBEradicateCapsules: Only autodestroy if the type is KITEM_SPB

See merge request KartKrew/Kart!1702
This commit is contained in:
Oni 2023-12-22 20:43:04 +00:00
commit 955f4c39c0

View file

@ -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);