From: tomaz Date: Sun, 22 Aug 2004 15:37:58 +0000 (+0000) Subject: Made ValidateState warn and not error out about colormap > maxclients. X-Git-Tag: xonotic-v0.1.0preview~5719 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e623889e9966d2707a06d1b965e8feafc7552eec;p=xonotic%2Fdarkplaces.git Made ValidateState warn and not error out about colormap > maxclients. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4358 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index 18c1f7df..b7fe200e 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -476,7 +476,10 @@ void CL_ValidateState(entity_state_t *s) // colormap is client index + 1 if (s->colormap > cl.maxclients) - Host_Error ("CL_ValidateState: colormap (%i) > cl.maxclients (%i)", s->colormap, cl.maxclients); + { + Con_DPrintf("CL_ValidateState: colormap (%i) > cl.maxclients (%i)", s->colormap, cl.maxclients); + s->colormap = 0; + } model = cl.model_precache[s->modelindex]; Mod_CheckLoaded(model);