Don't add item capsules to the respawn queue

This commit is contained in:
lachablock 2021-06-21 15:33:38 +10:00
parent baae615d08
commit 6477176c31

View file

@ -9787,8 +9787,7 @@ void P_RemoveMobj(mobj_t *mobj)
// Rings only, please!
if (mobj->spawnpoint &&
(mobj->type == MT_RING
|| mobj->type == MT_BLUESPHERE
|| mobj->type == MT_ITEMCAPSULE)
|| mobj->type == MT_BLUESPHERE)
&& !(mobj->flags2 & MF2_DONTRESPAWN))
{
itemrespawnque[iquehead] = mobj->spawnpoint;