merge branch work back into trunk
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light.c
index 25d40a9a336d62ea675868e5acf5a1907599a650..8520edd7f14de21054545009f09705ce4d5f1c6b 100644 (file)
@@ -339,10 +339,10 @@ void CreateEntityLights( void )
                if( light->style < LS_NORMAL || light->style >= LS_NONE )
                        Error( "Invalid lightstyle (%d) on entity %d", light->style, i );
                
-               /* override */
-               if( noStyles )
-                       light->style = LS_NORMAL;
-               
+               if( light->style != LS_NORMAL ) {
+                       Sys_FPrintf (SYS_WRN, "WARNING: Styled light found targeting %s\n **", target );
+               }
+
                /* set light intensity */
                intensity = FloatForKey( e, "_light" );
                if( intensity == 0.0f )