From 6fe504760c9f419c24bfdc041c8d961ec061c407 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 29 Apr 2016 13:27:57 -0600 Subject: [PATCH] light: don't compute regular lighting if we are doing -bouncedebug --- light/ltface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/light/ltface.c b/light/ltface.c index 8839cb64..3fdf7b12 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -2036,7 +2036,7 @@ LightFace(bsp2_dface_t *face, facesup_t *facesup, const modelinfo_t *modelinfo, * clamp any values that may have gone negative. */ - if (!dirtDebug && !phongDebug) { + if (!dirtDebug && !phongDebug && !bouncedebug) { /* positive lights */ for (lighte = lights; (entity = *lighte); lighte++) {