From 0234ffe6ffebeb3de501b0f97e6760c74cc01bd5 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 23 Oct 2014 00:06:38 -0600 Subject: [PATCH] Fix a typo --- quakespasm/Quake/r_alias.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quakespasm/Quake/r_alias.c b/quakespasm/Quake/r_alias.c index 830abd88..ca2ef6a5 100644 --- a/quakespasm/Quake/r_alias.c +++ b/quakespasm/Quake/r_alias.c @@ -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); }