GT_TUTORIAL: Allow MT_RANDOMITEM to respawn

This commit is contained in:
toaster 2023-12-18 17:27:47 +00:00
parent c6edfa0de5
commit fa6beeaaea
2 changed files with 3 additions and 3 deletions

View file

@ -289,7 +289,7 @@ static void P_ItemPop(mobj_t *actor)
*/
// Here at mapload in battle?
if (!(gametyperules & GTR_CIRCUIT) && (actor->flags2 & MF2_BOSSFLEE))
if (gametype != GT_TUTORIAL && !(gametyperules & GTR_CIRCUIT) && (actor->flags2 & MF2_BOSSFLEE))
{
numgotboxes++;

View file

@ -12557,8 +12557,8 @@ void P_RespawnBattleBoxes(void)
{
thinker_t *th;
if (gametyperules & GTR_CIRCUIT)
return;
/*if (gametyperules & GTR_CIRCUIT) -- already guarding the call
return;*/
tic_t setduration = (nummapboxes > 1) ? TICRATE : (2*TICRATE);