From: havoc Date: Sun, 27 Jul 2003 05:20:17 +0000 (+0000) Subject: remove an unused variable (and kill the one incorrect use of it) X-Git-Tag: xonotic-v0.1.0preview~6473 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d874bf725c78fbab7d23299254232f0de34c046a;p=xonotic%2Fdarkplaces.git 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 --- 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;