From d874bf725c78fbab7d23299254232f0de34c046a Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 27 Jul 2003 05:20:17 +0000 Subject: [PATCH] remove an unused variable (and kill the one incorrect use of it) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3339 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sv_main.c b/sv_main.c index d7db4ef9..048f4f49 100644 --- a/sv_main.c +++ b/sv_main.c @@ -807,7 +807,6 @@ void SV_PrepareEntitiesForSending(void) int e, i; edict_t *ent; entity_state_t cs; - eval_t *val; // send all entities that touch the pvs numsendentities = 0; sendentitiesindex[0] = NULL; @@ -861,7 +860,7 @@ void SV_PrepareEntitiesForSending(void) cs.glowcolor = 254; i = (int)(GETEDICTFIELDVALUE(ent, eval_glow_color)->_float); if (i) - cs.glowcolor = (int) val->_float; + cs.glowcolor = i; if (GETEDICTFIELDVALUE(ent, eval_fullbright)->_float) cs.effects |= EF_FULLBRIGHT; -- 2.39.2