mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'spraycan-final' into 'master'
Spray Can spawning rule cleanup Closes #1198 See merge request KartKrew/Kart!2175
This commit is contained in:
commit
026b91c49b
2 changed files with 3 additions and 2 deletions
|
|
@ -13095,7 +13095,7 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj)
|
|||
{
|
||||
if (nummapspraycans == UINT8_MAX
|
||||
|| modeattacking != ATTACKING_NONE
|
||||
|| tutorialchallenge == TUTORIALSKIP_INPROGRESS)
|
||||
|| (tutorialchallenge == TUTORIALSKIP_INPROGRESS && gamedata->gotspraycans == 0))
|
||||
{
|
||||
P_RemoveMobj(mobj);
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -881,7 +881,8 @@ static void P_SpawnMapThings(boolean spawnemblems)
|
|||
|
||||
if (spawnemblems
|
||||
&& gametype != GT_TUTORIAL
|
||||
&& !modeattacking)
|
||||
&& !modeattacking
|
||||
&& !(tutorialchallenge == TUTORIALSKIP_INPROGRESS && gamedata->gotspraycans == 0))
|
||||
{
|
||||
const UINT8 recommendedcans =
|
||||
#ifdef DEVELOP
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue