From 1ceb6f6adb4fa8fc9e1d58e37d15c76a3f689efc Mon Sep 17 00:00:00 2001 From: FruitieX Date: Tue, 8 Jun 2010 23:24:45 +0300 Subject: [PATCH] fix hud_notify_flip cvar, also export it in the exporter --- defaultXonotic.cfg | 2 +- qcsrc/client/hud.qc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 87c5883cb..8343e0221 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1406,7 +1406,7 @@ seta hud_notify_bg_color_team "" "override panel color with team color in team b seta hud_notify_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_notify_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_notify_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_healtharmor_flip 0 "order the list top to bottom instead of bottom to top" +seta hud_notify_flip 0 "order the list top to bottom instead of bottom to top" seta hud_notify_print 0 "also con_notify print the messages that are shown on the notify panel" seta hud_notify_time 5 "time that a new entry stays until it fades out" seta hud_notify_fadetime 2 "fade out time" diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index f908ad78f..b0af90b82 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -630,6 +630,9 @@ void HUD_Panel_ExportCfg(string cfgname) fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_flip ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_flip"))), "\n")); fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_mirror ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_mirror"))), "\n")); break; + case 4: + fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_flip ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_flip"))), "\n")); + break; case 9: fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_alreadyvoted_alpha ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_alreadyvoted_alpha"))), "\n")); break; -- 2.39.2