mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-21 21:11:21 +00:00
Spawn duel items in tutorial
This commit is contained in:
parent
23b4b83c7c
commit
f7300d3106
1 changed files with 2 additions and 2 deletions
|
|
@ -13005,12 +13005,12 @@ static boolean P_AllowMobjSpawn(mapthing_t* mthing, mobjtype_t i)
|
|||
// spawn all the duel mode objects itself, which ends up
|
||||
// calling this function again.
|
||||
// So that's why this check is even here.
|
||||
if (inDuel == false && (grandprixinfo.gp == false || grandprixinfo.eventmode != GPEVENT_BONUS))
|
||||
if (inDuel == false && (grandprixinfo.gp == false || grandprixinfo.eventmode != GPEVENT_BONUS) && gametype != GT_TUTORIAL)
|
||||
{
|
||||
if (K_IsDuelItem(i) == true
|
||||
&& K_DuelItemAlwaysSpawns(mthing) == false)
|
||||
{
|
||||
// Only spawns in Duels or GP bonus rounds.
|
||||
// Only spawns in Duels, GP bonus rounds or Tutorials.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue