fp: Disable debug mob spawner disable

This commit is contained in:
doyle 2023-10-22 12:03:17 +11:00
parent 3b8a0d483f
commit 3d79e8647e
2 changed files with 2 additions and 2 deletions

View File

@ -2026,7 +2026,7 @@ void FP_Update(TELY_Platform *platform, FP_Game *game, TELY_PlatformInput *input
}
// NOTE: Mob spawner =======================================================================
if (entity->type == FP_EntityType_MobSpawner && 0) {
if (entity->type == FP_EntityType_MobSpawner) {
// NOTE: Flush any spawn entities that are dead
for (FP_SentinelListLink<FP_GameEntityHandle> *link = nullptr; FP_SentinelList_Iterate<FP_GameEntityHandle>(&entity->spawn_list, &link); ) {
FP_GameEntity *spawned_entity = FP_Game_GetEntity(game, link->data);

View File

@ -149,5 +149,5 @@ g_anim_names;
#if defined(DQN_PLATFORM_EMSCRIPTEN)
#define FP_DEVELOPER_MODE 0
#else
#define FP_DEVELOPER_MODE 0
#define FP_DEVELOPER_MODE 1
#endif