]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_settings_effects.qc
Unify boolean constants
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_settings_effects.qc
index 59b4860af4c88c1051eaafc5d238b9af7e3572bb..7ec7ba027f2cb6857acac402b0c25c383e25ef35 100644 (file)
@@ -23,11 +23,11 @@ float someShadowCvarIsEnabled(entity box)
 {
        if(cvar("r_shadow_realtime_dlight"))
                if(cvar("r_shadow_realtime_dlight_shadows"))
-                       return TRUE;
+                       return true;
        if(cvar("r_shadow_realtime_world"))
                if(cvar("r_shadow_realtime_world_shadows"))
-                       return TRUE;
-       return FALSE;
+                       return true;
+       return false;
 }
 
 void XonoticEffectsSettingsTab_fill(entity me)