Fix a typo

This commit is contained in:
Eric Wasylishen 2014-10-23 00:06:38 -06:00
parent f5700934ad
commit 0234ffe6ff

View file

@ -241,8 +241,8 @@ void GL_DrawAliasFrame (aliashdr_t *paliashdr, lerpdata_t lerpdata)
commands = (int *)((byte *)paliashdr + paliashdr->commands);
vertcolor[3] = entalpha; //never changes, so there's no need to put this inside the look
vertcolor[3] = entalpha; //never changes, so there's no need to put this inside the loop
while (1)
{
// get the vertex count and primitive type
@ -514,7 +514,7 @@ void R_SetupAliasLighting (entity_t *e)
lightcolor[1] = 256.0f;
lightcolor[2] = 256.0f;
}
quantizedangle = ((int)(e->angles[1] * (SHADEDOT_QUANT / 360.0))) & (SHADEDOT_QUANT - 1);
radiansangle = (quantizedangle / 16.0) * 2.0 * 3.14159;
@ -524,7 +524,7 @@ void R_SetupAliasLighting (entity_t *e)
VectorNormalize(shadevector);
shadedots = r_avertexnormal_dots[quantizedangle];
VectorScale (lightcolor, 1.0f / 200.0f, lightcolor);
}