mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 22:42:46 +00:00
Versus: fix item box staying invisible forever
This commit is contained in:
parent
3df76ae9a5
commit
87531075f1
1 changed files with 3 additions and 1 deletions
|
|
@ -147,8 +147,10 @@ void Obj_RandomItemVisuals(mobj_t *mobj)
|
||||||
|
|
||||||
boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
boolean Obj_RandomItemSpawnIn(mobj_t *mobj)
|
||||||
{
|
{
|
||||||
|
// We don't want item spawnpoints to be visible during
|
||||||
|
// POSITION in Battle.
|
||||||
// battleprisons isn't set in time to do this on spawn. GROAN
|
// battleprisons isn't set in time to do this on spawn. GROAN
|
||||||
if ((mobj->flags2 & MF2_BOSSFLEE) && (gametyperules & GTR_BUMPERS) && !battleprisons)
|
if ((mobj->flags2 & MF2_BOSSFLEE) && (gametyperules & (GTR_CIRCUIT|GTR_PAPERITEMS)) == GTR_PAPERITEMS && !battleprisons)
|
||||||
mobj->renderflags |= RF_DONTDRAW;
|
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?
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue