From d49f680b171a18fd2e9987caf04a5f090876758c Mon Sep 17 00:00:00 2001 From: cypress Date: Sat, 16 Dec 2023 12:33:03 -0500 Subject: [PATCH] NX/VITA: 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 2576096..157b544 100644 --- a/source/pr_edict.c +++ b/source/pr_edict.c @@ -995,25 +995,6 @@ void ED_LoadFromFile (const 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 //