]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix stupid typo...
authorterencehill <piuntn@gmail.com>
Sat, 25 Dec 2010 18:01:13 +0000 (19:01 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 25 Dec 2010 18:01:13 +0000 (19:01 +0100)
These inverted checks were causing physics panel to completely disappear in hud_config mode, if panel is disabled

qcsrc/client/hud.qc

index 8b58efaf7593fea26e8345e9f94a4198d2e1cbe0..2e99f1a40d8a83999c93634f57911819a5897d0a 100644 (file)
@@ -4146,9 +4146,9 @@ float acc_prevtime, acc_avg, top_speed, top_speed_time;
 
 void HUD_Physics(void)
 {
-       if(!autocvar_hud_panel_physics)
+       if(!autocvar__hud_configure)
        {
-               if(!autocvar__hud_configure) return;
+               if(!autocvar_hud_panel_physics) return;
                if(spectatee_status <= 0 && autocvar_hud_panel_physics < 2) return;
        }
        else