From: maek Date: Sun, 26 Feb 2017 17:57:14 +0000 (+0100) Subject: Fix a bug that prevent -fast to behave correctly X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4dd29b40e8059bdc3671814eb7da022a709a03a7;p=xonotic%2Fnetradiant.git Fix a bug that prevent -fast to behave correctly --- 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 ) {