From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Fri, 20 Jan 2023 21:46:10 +0000 (+0100) Subject: strafehud: fix small mistakes of previous projection code commit X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a1f8048b1cdd3a3bcc48c44cc9fb63d76969c6e;p=xonotic%2Fxonotic-data.pk3dir.git strafehud: fix small mistakes of previous projection code commit --- diff --git a/_hud_common.cfg b/_hud_common.cfg index 9a063f752..a3b4a5c20 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -224,7 +224,7 @@ seta hud_panel_strafehud_sonar_pitch_exponent "1" "exponent of the dynamic playb seta hud_panel_strafehud_vangle "0" "set to \"1\" to enable the vertical angle indicator" seta hud_panel_strafehud_vangle_color "0.75 0.75 0.75" "color of the vertical angle text" seta hud_panel_strafehud_vangle_size "1" "size of the vertical angle text (relative to the panel height)" -seta hud_panel_strafehud_projection "0" "strafehud projection mode, \"0\" = Linear, \"1\" = Perspective, \"2\" = Panoramic" +seta hud_panel_strafehud_projection "0" "strafehud projection mode, \"0\" = linear, \"1\" = perspective, \"2\" = panoramic" // hud panel aliases alias quickmenu "cl_cmd hud quickmenu ${* ?}" diff --git a/qcsrc/client/hud/panel/strafehud.qh b/qcsrc/client/hud/panel/strafehud.qh index 7080327d8..d5a9f6bdd 100644 --- a/qcsrc/client/hud/panel/strafehud.qh +++ b/qcsrc/client/hud/panel/strafehud.qh @@ -73,7 +73,7 @@ float autocvar_hud_panel_strafehud_sonar_pitch_exponent = 1; bool autocvar_hud_panel_strafehud_vangle = false; vector autocvar_hud_panel_strafehud_vangle_color = '0.75 0.75 0.75'; float autocvar_hud_panel_strafehud_vangle_size = 1; -int autocvar_hud_panel_strafehud_projection = 1; +int autocvar_hud_panel_strafehud_projection = 0; void HUD_Panel_DrawStrafeHUD(float, float, float, vector, float, int, int, bool, float); vector StrafeHUD_mixColors(vector, vector, float);