Allow all capsule spawns in Tutorial

This commit is contained in:
AJ Martinez 2023-11-15 23:19:13 -07:00
parent 9ed05b5c21
commit f2b364fd48

View file

@ -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);
} }