]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud.qc
hud_panel_physics 3 = show only in race/cts if not observing and make it default
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud.qc
index 65fe92c252396805f5c7b5285a9f591496c22f0f..3004c9e285cff8f2a08714357e105ffb91c60678 100644 (file)
@@ -4280,7 +4280,8 @@ void HUD_Physics(void)
        if(!autocvar__hud_configure)
        {
                if(!autocvar_hud_panel_physics) return;
-               if(spectatee_status == -1 && autocvar_hud_panel_physics < 2) return;
+               if(spectatee_status == -1 && (autocvar_hud_panel_physics == 1 || autocvar_hud_panel_physics == 3)) return;
+               if(autocvar_hud_panel_physics == 3 && !(gametype == GAME_RACE || gametype == GAME_CTS)) return;
        }
        else
                hud_configure_active_panel = HUD_PANEL_PHYSICS;