mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-23 18:44:18 +00:00
Fix issue where random boxes would become invisible after respawning in race.
This commit is contained in:
parent
435784d6c0
commit
bc3fcc8ed0
1 changed files with 1 additions and 1 deletions
|
|
@ -8588,7 +8588,7 @@ for (i = ((mobj->flags2 & MF2_STRONGBOX) ? strongboxamt : weakboxamt); i; --i) s
|
||||||
newmobj = P_SpawnMobj(mobj->x, mobj->y, mobj->z, mobj->type);
|
newmobj = P_SpawnMobj(mobj->x, mobj->y, mobj->z, mobj->type);
|
||||||
|
|
||||||
// Transfer flags2 (strongbox, objectflip)
|
// Transfer flags2 (strongbox, objectflip)
|
||||||
newmobj->flags2 = mobj->flags2;
|
newmobj->flags2 = mobj->flags2 & ~MF2_DONTDRAW;
|
||||||
}
|
}
|
||||||
P_RemoveMobj(mobj); // make sure they disappear
|
P_RemoveMobj(mobj); // make sure they disappear
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue