mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-15 08:31:03 +00:00
Fix a typo
This commit is contained in:
parent
f5700934ad
commit
0234ffe6ff
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue