]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
allow rtdlight off, rtworld on
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 3 Dec 2010 21:39:51 +0000 (21:39 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 4 Dec 2010 10:24:28 +0000 (11:24 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10647 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=20d49ae924374c7278943636e3dbb655138b5edc

gl_rmain.c

index 6156c5c50e7660df2b5dbb1d12f2b7ed595d1523..ac4edaab92c1d55fe007ad56bbb3cdff7749f8df 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)