mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Spray Cans: Don't spawn in Attack modes
This commit is contained in:
parent
56e8964427
commit
74c6e1a0fd
1 changed files with 3 additions and 1 deletions
|
|
@ -13083,7 +13083,9 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj)
|
||||||
}
|
}
|
||||||
case MT_SPRAYCAN:
|
case MT_SPRAYCAN:
|
||||||
{
|
{
|
||||||
if (nummapspraycans == UINT8_MAX || tutorialchallenge == TUTORIALSKIP_INPROGRESS)
|
if (nummapspraycans == UINT8_MAX
|
||||||
|
|| modeattacking != ATTACKING_NONE
|
||||||
|
|| tutorialchallenge == TUTORIALSKIP_INPROGRESS)
|
||||||
{
|
{
|
||||||
P_RemoveMobj(mobj);
|
P_RemoveMobj(mobj);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue