mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
Fix colormap and colormod.
Fitzquake doesn't support colormod, so it needs to be copied from baseline at all times. colormap was just a thinko/typo.
This commit is contained in:
parent
e41d269617
commit
0d8cd72a89
2 changed files with 4 additions and 3 deletions
|
@ -599,9 +599,9 @@ CL_RelinkEntities (void)
|
|||
set_entity_model (ent, new->modelindex);
|
||||
}
|
||||
ent->frame = new->frame;
|
||||
if (cl_forcelink[i] || new->colormod != old->colormod) {
|
||||
old->colormod = new->colormod;
|
||||
ent->skin = mod_funcs->Skin_SetColormap (ent->skin, new->colormod);
|
||||
if (cl_forcelink[i] || new->colormap != old->colormap) {
|
||||
old->colormap = new->colormap;
|
||||
ent->skin = mod_funcs->Skin_SetColormap (ent->skin, new->colormap);
|
||||
}
|
||||
if (cl_forcelink[i] || new->skinnum != old->skinnum) {
|
||||
old->skinnum = new->skinnum;
|
||||
|
|
|
@ -568,6 +568,7 @@ CL_ParseUpdate (int bits)
|
|||
if (bits & U_LERPFINISH) {
|
||||
MSG_ReadByte (net_message); //FIXME ignored for now. see fitzquake
|
||||
}
|
||||
state->colormod = baseline->colormod;
|
||||
} else {
|
||||
state->alpha = baseline->alpha;
|
||||
state->scale = baseline->scale;
|
||||
|
|
Loading…
Reference in a new issue