From 4dd29b40e8059bdc3671814eb7da022a709a03a7 Mon Sep 17 00:00:00 2001 From: maek Date: Sun, 26 Feb 2017 18:57:14 +0100 Subject: [PATCH] Fix a bug that prevent -fast to behave correctly --- tools/quake3/q3map2/light_ydnar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 34c22833..3587797a 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -3675,7 +3675,7 @@ void SetupEnvelopes( qboolean forGrid, qboolean fastFlag ){ else{ light->flags &= ~LIGHT_FAST_TEMP; } - if ( fastpoint && ( light->flags != EMIT_AREA ) ) { + if ( fastpoint && ( light->type != EMIT_AREA ) ) { light->flags |= LIGHT_FAST_TEMP; } if ( light->si && light->si->noFast ) { -- 2.39.2