Actually increase light color of models

This commit is contained in:
Ryan Baldwin 2022-08-18 23:38:42 -07:00
parent 558419cd04
commit 4dba825678
1 changed files with 8 additions and 10 deletions

View File

@ -678,16 +678,6 @@ void R_DrawAliasModel (entity_t *e)
VectorCopy (currententity->origin, r_entorigin);
VectorSubtract (r_origin, r_entorigin, modelorg);
//Shpuld
if(r_model_brightness.value)
{
lightcolor[0] += 32;
lightcolor[1] += 32;
lightcolor[2] += 32;
}
for(int g = 0; g < 3; g++)
{
if(lightcolor[g] < 8)
@ -762,6 +752,14 @@ void R_DrawAliasModel (entity_t *e)
GL_DisableMultitexture();
//Shpuld
if(r_model_brightness.value)
{
lightcolor[0] += 32;
lightcolor[1] += 32;
lightcolor[2] += 32;
}
glPushMatrix ();
R_RotateForEntity (e);