]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix hud_notify_flip cvar, also export it in the exporter
authorFruitieX <rasse@rasse-lappy.localdomain>
Tue, 8 Jun 2010 20:24:45 +0000 (23:24 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Tue, 8 Jun 2010 20:24:45 +0000 (23:24 +0300)
defaultXonotic.cfg
qcsrc/client/hud.qc

index 87c5883cb190640deaac77d8a4c928e0cf2d5f12..8343e0221b481d033fd6e54f5983399fb0dbdabd 100644 (file)
@@ -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"
index f908ad78f50d35464697de401e7d305c6b201733..b0af90b825e1490d62f629fd8eab91253810e551 100644 (file)
@@ -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;