mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't add item capsules to the respawn queue
This commit is contained in:
parent
baae615d08
commit
6477176c31
1 changed files with 1 additions and 2 deletions
|
|
@ -9787,8 +9787,7 @@ void P_RemoveMobj(mobj_t *mobj)
|
||||||
// Rings only, please!
|
// Rings only, please!
|
||||||
if (mobj->spawnpoint &&
|
if (mobj->spawnpoint &&
|
||||||
(mobj->type == MT_RING
|
(mobj->type == MT_RING
|
||||||
|| mobj->type == MT_BLUESPHERE
|
|| mobj->type == MT_BLUESPHERE)
|
||||||
|| mobj->type == MT_ITEMCAPSULE)
|
|
||||||
&& !(mobj->flags2 & MF2_DONTRESPAWN))
|
&& !(mobj->flags2 & MF2_DONTRESPAWN))
|
||||||
{
|
{
|
||||||
itemrespawnque[iquehead] = mobj->spawnpoint;
|
itemrespawnque[iquehead] = mobj->spawnpoint;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue