]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
fix for a typo from O.Sezer
[xonotic/darkplaces.git] / 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];