From a1e0f192c7cab4e481a47e21d6083ca42bdeab1f Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Fri, 1 Mar 2013 22:03:36 +1030 Subject: [PATCH] light: fix use of incorrect color for !nominlimit case Signed-off-by: Kevin Shanahan --- light/ltface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/light/ltface.c b/light/ltface.c index 32d04a20..df8d815c 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -943,11 +943,11 @@ LightFace(int surfnum, qboolean nolight, const vec3_t faceoffset) if (entity->formula == LF_LOCALMIN) continue; if (entity->light) - SingleLightFace(entity, &l, faceoffset, colors); + SingleLightFace(entity, &l, faceoffset, entity->lightcolor); } /* cast sky light */ if (sunlight) - SkyLightFace(&l, faceoffset, colors); + SkyLightFace(&l, faceoffset, sunlight_color); } /* Minimum lighting */