]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't attempt to play "welcome" announcement, as it does not exist
authorMario <mario.mario@y7mail.com>
Sun, 1 Nov 2020 08:04:23 +0000 (18:04 +1000)
committerMario <mario.mario@y7mail.com>
Sun, 1 Nov 2020 08:04:23 +0000 (18:04 +1000)
qcsrc/menu/menu.qc

index 84caecb75bbf33ca0b16cd51ad6f4c626fda3341..cb61d3943cd0c428e557bec04c1b1fde29fd58a1 100644 (file)
@@ -708,7 +708,9 @@ void m_draw(float width, float height)
                menuNotTheFirstFrame = true;
                if (Menu_Active && !cvar("menu_video_played"))
         {
-            localcmd("cd loop $menu_cdtrack; play sound/announcer/default/welcome.wav\n");
+            localcmd("cd loop $menu_cdtrack\n");
+            // TODO: use this when we have a welcome sound
+            //localcmd("cd loop $menu_cdtrack; play sound/announcer/default/welcome.wav\n");
             menuLogoAlpha = -0.8;  // no idea why, but when I start this at zero, it jumps instead of fading FIXME
         }
                // ALWAYS set this cvar; if we start but menu is not active, this means we want no background music!