From 0e57df6eaa4f27c746a97d8b8a3415563326db54 Mon Sep 17 00:00:00 2001 From: cypress Date: Sat, 16 Dec 2023 12:33:01 -0500 Subject: [PATCH] Remove hardcoded Quake difficulty spawnflags --- source/pr_edict.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/source/pr_edict.c b/source/pr_edict.c index 2a4af6b..aed96ea 100644 --- a/source/pr_edict.c +++ b/source/pr_edict.c @@ -961,25 +961,6 @@ void ED_LoadFromFile (char *data) ent = ED_Alloc (); data = ED_ParseEdict (data, ent); -// remove things from different skill levels or deathmatch - if (deathmatch.value) - { - if (((int)ent->v.spawnflags & SPAWNFLAG_NOT_DEATHMATCH)) - { - ED_Free (ent); - inhibit++; - continue; - } - } - else if ((current_skill == 0 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_EASY)) - || (current_skill == 1 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_MEDIUM)) - || (current_skill >= 2 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_HARD)) ) - { - ED_Free (ent); - inhibit++; - continue; - } - // // immediately call spawn function //