From e623889e9966d2707a06d1b965e8feafc7552eec Mon Sep 17 00:00:00 2001 From: tomaz Date: Sun, 22 Aug 2004 15:37:58 +0000 Subject: [PATCH] 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 --- cl_parse.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.2