Fix a bug that prevent -fast to behave correctly

This commit is contained in:
maek
2017-02-26 18:57:14 +01:00
committed by Garux
parent b7bfa11b55
commit 01962a5afe

View File

@@ -3709,7 +3709,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 ) {