mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
MT_RANDOMITEM: Fix Prison Break/Versus delayed spawn
`leveltime`'s behaviour was changed, and this code was fragile and dependent on the old behaviour
This commit is contained in:
parent
6fec652bde
commit
4edae065cb
1 changed files with 2 additions and 2 deletions
|
|
@ -13143,8 +13143,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
|
|||
}
|
||||
case MT_RANDOMITEM:
|
||||
{
|
||||
boolean delayed = !(gametyperules & GTR_CIRCUIT);
|
||||
if (leveltime < (delayed ? starttime : 3))
|
||||
const boolean delayed = !(gametyperules & GTR_CIRCUIT);
|
||||
if (leveltime == 0)
|
||||
{
|
||||
mobj->flags2 |= MF2_BOSSNOTRAP; // mark as here on map start
|
||||
if (delayed)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue