mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-25 04:11:05 +00:00
Fix issue where random boxes would become invisible after respawning in race.
This commit is contained in:
parent
1d42a97e08
commit
a10c0f1bcf
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);
|
||||
|
||||
// Transfer flags2 (strongbox, objectflip)
|
||||
newmobj->flags2 = mobj->flags2;
|
||||
newmobj->flags2 = mobj->flags2 & ~MF2_DONTDRAW;
|
||||
}
|
||||
P_RemoveMobj(mobj); // make sure they disappear
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue