mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
remove some redundant/incorrect code
This commit is contained in:
parent
7ed7938b1c
commit
1a0cf8d1f4
1 changed files with 0 additions and 3 deletions
|
@ -555,9 +555,6 @@ R_DrawAliasModel (entity_t *e, qboolean cull)
|
|||
ambientcolor[i] = min (ambientcolor[i], 128/200.0);
|
||||
if (ambientcolor[i] + shadecolor[i] > 1)
|
||||
shadecolor[i] = 1 - ambientcolor[i];
|
||||
// never allow players to go totally black
|
||||
if (shadecolor[i] < clmodel->min_light / 200.0)
|
||||
shadecolor[i] = clmodel->min_light / 200.0;
|
||||
}
|
||||
// always give the gun some light
|
||||
shade = max (shadecolor[0], max (shadecolor[1], shadecolor[2]));
|
||||
|
|
Loading…
Reference in a new issue