light: don't set up bounce lights in debug modes

This commit is contained in:
Eric Wasylishen 2017-12-04 23:37:43 -07:00
parent d9f112a97f
commit b8b17123d1
1 changed files with 4 additions and 1 deletions

View File

@ -413,7 +413,10 @@ LightWorld(bspdata_t *bspdata, qboolean forcedscale)
CalcualateVertexNormals(bsp); CalcualateVertexNormals(bsp);
if (cfg_static.bounce.boolValue()) { if (cfg_static.bounce.boolValue()
&& (debugmode == debugmode_none
|| debugmode == debugmode_bounce
|| debugmode == debugmode_bouncelights)) {
MakeTextureColors(bsp); MakeTextureColors(bsp);
MakeBounceLights(cfg_static, bsp); MakeBounceLights(cfg_static, bsp);
} }