remove some redundant/incorrect code

This commit is contained in:
Bill Currie 2002-08-14 06:28:38 +00:00
parent 7ed7938b1c
commit 1a0cf8d1f4

View file

@ -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]));