mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 10:51:42 +00:00
Merge branch 'fix-tutorial-hologram-items' into 'master'
Fix tutorial items spawning as holograms See merge request KartKrew/Kart!1784
This commit is contained in:
commit
414f0ec70c
1 changed files with 5 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
||||||
{
|
{
|
||||||
if (battleprisons == true)
|
if (battleprisons == true)
|
||||||
{
|
{
|
||||||
mobj->renderflags &= ~PREVIEWFLAGS; // Set in Obj_RandomItemSpawn, unset now that we're playing proper.
|
;
|
||||||
}
|
}
|
||||||
else
|
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
|
// poof into existance
|
||||||
P_UnsetThingPosition(mobj);
|
P_UnsetThingPosition(mobj);
|
||||||
mobj->flags &= ~(MF_NOCLIPTHING|MF_NOBLOCKMAP);
|
mobj->flags &= ~(MF_NOCLIPTHING|MF_NOBLOCKMAP);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue