projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1210b4c
)
fix colormap checking in ValidateState, it was throwing out RENDER_COLORMAPPED colorm...
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 4 Oct 2004 21:28:58 +0000
(21:28 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 4 Oct 2004 21:28:58 +0000
(21:28 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4593
d7cf8633
-e32d-0410-b094-
e92efae38249
cl_parse.c
patch
|
blob
|
history
diff --git
a/cl_parse.c
b/cl_parse.c
index a93c505a2a726ef5e85c8a613443f8db01f0cf22..c67225d03e813ca94cd5737455b296c3452999a9 100644
(file)
--- a/
cl_parse.c
+++ b/
cl_parse.c
@@
-473,7
+473,7
@@
void CL_ValidateState(entity_state_t *s)
Host_Error("CL_ValidateState: modelindex (%i) >= MAX_MODELS (%i)\n", s->modelindex, MAX_MODELS);
// colormap is client index + 1
- if (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);
s->colormap = 0;