Fix the bogus entity scales in the gl render.

It seems none of the other renderers support entity scale...
This commit is contained in:
Bill Currie 2012-07-03 20:07:18 +09:00
parent ef9e8d05c4
commit 49f7d1ad6d
2 changed files with 4 additions and 1 deletions

View file

@ -612,7 +612,7 @@ CL_RelinkEntities (void)
cl.scores[i - 1].bottomcolor);
}
}
ent->scale = new->scale;
ent->scale = new->scale / 16.0;
VectorCopy (ent_colormod[new->colormod], ent->colormod);
ent->colormod[3] = ENTALPHA_DECODE (new->alpha);

View file

@ -570,6 +570,9 @@ CL_ParseUpdate (int bits)
if (bits & U_LERPFINISH) {
MSG_ReadByte (net_message); //FIXME ignored for now. see fitzquake
}
state->scale = baseline->scale;
state->glow_size = baseline->glow_size;
state->glow_color = baseline->glow_color;
state->colormod = baseline->colormod;
} else {
state->alpha = baseline->alpha;