allow rtdlight off, rtworld on
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Dec 2010 21:39:51 +0000 (21:39 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Dec 2010 21:39:51 +0000 (21:39 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10647 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 6156c5c..ac4edaa 100644 (file)
@@ -9473,7 +9473,7 @@ void R_UpdateVariables(void)
 
        r_refdef.scene.rtworld = r_shadow_realtime_world.integer != 0;
        r_refdef.scene.rtworldshadows = r_shadow_realtime_world_shadows.integer && vid.stencil;
-       r_refdef.scene.rtdlight = (r_shadow_realtime_world.integer || r_shadow_realtime_dlight.integer) && !gl_flashblend.integer && r_dynamic.integer;
+       r_refdef.scene.rtdlight = r_shadow_realtime_dlight.integer != 0 && !gl_flashblend.integer && r_dynamic.integer;
        r_refdef.scene.rtdlightshadows = r_refdef.scene.rtdlight && r_shadow_realtime_dlight_shadows.integer && vid.stencil;
        r_refdef.lightmapintensity = r_refdef.scene.rtworld ? r_shadow_realtime_world_lightmaps.value : 1;
        if (FAKELIGHT_ENABLED)