mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix tutorial items spawning as holograms
This commit is contained in:
parent
6a241772fc
commit
eddeb0d568
1 changed files with 5 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
|||
{
|
||||
if (battleprisons == true)
|
||||
{
|
||||
mobj->renderflags &= ~PREVIEWFLAGS; // Set in Obj_RandomItemSpawn, unset now that we're playing proper.
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -166,6 +166,10 @@ boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
|||
}
|
||||
}
|
||||
|
||||
// Clear "hologram" appearance if it was set in RandomItemSpawn.
|
||||
if ((gametyperules & GTR_CIRCUIT) != GTR_CIRCUIT)
|
||||
mobj->renderflags &= ~PREVIEWFLAGS;
|
||||
|
||||
// poof into existance
|
||||
P_UnsetThingPosition(mobj);
|
||||
mobj->flags &= ~(MF_NOCLIPTHING|MF_NOBLOCKMAP);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue