From e345d80f23c36ec09e28cab074c79040e80d2b39 Mon Sep 17 00:00:00 2001 From: cholleme <> Date: Sun, 4 May 2003 21:43:03 +0000 Subject: [PATCH] No more hacked light loading --- pr_edict.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pr_edict.c b/pr_edict.c index 616272b..5209eae 100644 --- a/pr_edict.c +++ b/pr_edict.c @@ -940,13 +940,9 @@ void ED_LoadFromFile (char *data) { if (((int)ent->v.spawnflags & SPAWNFLAG_NOT_DEATHMATCH)) { - //PENTA: HACK reuse deathmatch spawn flag as "keep light" - if (strcmp (pr_strings + ent->v.classname, "light") && - strcmp (pr_strings + ent->v.classname, "light_lev") ) { //not a light? do it like you always did - ED_Free (ent); - inhibit++; - continue; - } else Con_Printf("kept light"); + ED_Free (ent); + inhibit++; + continue; } } else if ((current_skill == 0 && ((int)ent->v.spawnflags & SPAWNFLAG_NOT_EASY))