From db6532fdfe0aed7c877f1b865162382cb59762b5 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 28 Jan 2009 04:51:13 +0000 Subject: [PATCH] fix for a typo from O.Sezer git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8679 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_parse.c b/cl_parse.c index fc654c9e..3b7b249b 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -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]; -- 2.39.2