]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Hotfix for menu BS bones_was_here/menu_hotfix_0.8.5
authorbones_was_here <bones_was_here@xonotic.au>
Mon, 19 Jun 2023 16:21:57 +0000 (02:21 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 19 Jun 2023 16:21:57 +0000 (02:21 +1000)
see:
https://gitlab.com/xonotic/xonotic-data.pk3dir/-/commit/e1907c7dac807e4ccb0bef3a029568a1237d88c7
https://gitlab.com/xonotic/xonotic-data.pk3dir/-/commit/af68e02202d3fc9fba725cc1f5f227f364b25d3e

qcsrc/menu/xonotic/util.qc
weapons.cfg [new file with mode: 0644]

index f98a8de8876e18ea5258fb5e0b6847234fc87de3..9c6b70286c5af5c365844f0bf567a82dc716cd65 100644 (file)
@@ -492,16 +492,11 @@ void updateCheck()
 
 }
 
-bool show_propermenu = false;
-
 float preMenuInit()
 {
        vector sz;
        vector boxA, boxB;
 
-       if(random() < 0.1)
-               show_propermenu = true;
-
        updateCheck();
 
        MapInfo_Cache_Create();
@@ -546,11 +541,8 @@ void preMenuDraw()
                fs = ((1/draw_scale.x) * eX + (1/draw_scale.y) * eY) * 12;
                line = eY * fs.y;
                string l1, l2;
-               if(show_propermenu)
-                       l1 = sprintf("Jeff pay 4 new weapons for %s", _Nex_ExtResponseSystem_UpdateTo);
-               else
-                       l1 = sprintf(_("Update to %s now!"), _Nex_ExtResponseSystem_UpdateTo);
-               l2 = "http://www.xonotic.org/";
+               l1 = sprintf(_("Update to %s now!"), _Nex_ExtResponseSystem_UpdateTo);
+               l2 = "https://xonotic.org/download";
                if(_Nex_ExtResponseSystem_UpdateToURL)
                        l2 = _Nex_ExtResponseSystem_UpdateToURL;
 
diff --git a/weapons.cfg b/weapons.cfg
new file mode 100644 (file)
index 0000000..ae561b0
--- /dev/null
@@ -0,0 +1,3 @@
+// placeholder: 0.8.2 had this file, 0.8.5 doesn't
+// problem: af68e02202d3fc9fba725cc1f5f227f364b25d3e
+// fix: e1907c7dac807e4ccb0bef3a029568a1237d88c7