mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
955f4c39c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue