mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't show item box preview holograms if they aren't going to spawn
This commit is contained in:
parent
cb11627bb5
commit
0cd3c26b8b
1 changed files with 4 additions and 0 deletions
|
|
@ -147,6 +147,10 @@ void Obj_RandomItemVisuals(mobj_t *mobj)
|
||||||
|
|
||||||
boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
||||||
{
|
{
|
||||||
|
// battleprisons isn't set in time to do this on spawn. GROAN
|
||||||
|
if ((mobj->flags2 & MF2_BOSSFLEE) && (gametyperules & GTR_BUMPERS) && !battleprisons)
|
||||||
|
mobj->renderflags |= RF_DONTDRAW;
|
||||||
|
|
||||||
if ((leveltime == starttime) && !(gametyperules & GTR_CIRCUIT) && (mobj->flags2 & MF2_BOSSFLEE)) // here on map start?
|
if ((leveltime == starttime) && !(gametyperules & GTR_CIRCUIT) && (mobj->flags2 & MF2_BOSSFLEE)) // here on map start?
|
||||||
{
|
{
|
||||||
if (gametyperules & GTR_PAPERITEMS)
|
if (gametyperules & GTR_PAPERITEMS)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue