From f6006e7cef32a7ef3f343c32f89242db92fdbaa0 Mon Sep 17 00:00:00 2001 From: Forest Hale Date: Tue, 4 Jul 2000 03:10:31 +0000 Subject: [PATCH] Fix for dark models bug. --- source/gl_rmain.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/gl_rmain.c b/source/gl_rmain.c index e40f75e..ebbe62e 100644 --- a/source/gl_rmain.c +++ b/source/gl_rmain.c @@ -545,11 +545,11 @@ void R_DrawAliasModel (entity_t *e) shadecolor[0] = currententity->colormod[0]; shadecolor[1] = currententity->colormod[1]; shadecolor[2] = currententity->colormod[2]; - if (lighthalf) + if (!lighthalf) { - shadecolor[0] *= 0.5; - shadecolor[1] *= 0.5; - shadecolor[2] *= 0.5; + shadecolor[0] *= 2.0; + shadecolor[1] *= 2.0; + shadecolor[2] *= 2.0; } VectorCopy (currententity->origin, r_entorigin);