mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'tutorial-capsules' into 'master'
Allow all capsule spawns in Tutorial (resolves #725) Closes #725 See merge request KartKrew/Kart!1633
This commit is contained in:
commit
323975f329
1 changed files with 23 additions and 19 deletions
|
|
@ -150,6 +150,8 @@ static void K_SpawnItemCapsules(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gametype != GT_TUTORIAL) // Don't prevent capsule spawn via modeflags in Tutorial
|
||||||
|
{
|
||||||
modeFlags = mt->thing_args[3];
|
modeFlags = mt->thing_args[3];
|
||||||
if (modeFlags == TMICM_DEFAULT)
|
if (modeFlags == TMICM_DEFAULT)
|
||||||
{
|
{
|
||||||
|
|
@ -177,6 +179,8 @@ static void K_SpawnItemCapsules(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
P_SpawnMapThing(mt);
|
P_SpawnMapThing(mt);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue