]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix for a typo from O.Sezer
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Jan 2009 04:51:13 +0000 (04:51 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Jan 2009 04:51:13 +0000 (04:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8679 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index fc654c9e3d5f9ea547dc2c5c46eef823e6807f5a..3b7b249b7ffd755f0261644e567284acccaadd7f 100644 (file)
@@ -1706,7 +1706,7 @@ void CL_ValidateState(entity_state_t *s)
        // (this used to happen, sometimes affecting skin and frame)
 
        // colormap is client index + 1
-       if ((!s->flags & RENDER_COLORMAPPED) && s->colormap > cl.maxclients)
+       if (!(s->flags & RENDER_COLORMAPPED) && s->colormap > cl.maxclients)
                Con_DPrintf("CL_ValidateState: colormap (%i) > cl.maxclients (%i)\n", s->colormap, cl.maxclients);
 
        model = cl.model_precache[s->modelindex];