]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
remove an unused variable (and kill the one incorrect use of it)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Jul 2003 05:20:17 +0000 (05:20 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Jul 2003 05:20:17 +0000 (05:20 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3339 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index d7db4ef9c39e2d4c9e5ee60fc0e6ee05a7a393e1..048f4f497be156422e90526ff2552059be896d4d 100644 (file)
--- 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;