]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/quickmenu.qc
Fix quickmenu setting: cl_chatsound --> con_chatsound
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / quickmenu.qc
index 8237fd2f83ef741c62971da16f5b37377ecb2f98..5977224699f7eae5e6934721c1c5e10fb3ce1fb5 100644 (file)
@@ -112,9 +112,9 @@ bool QuickMenu_Open(string mode, string submenu)
                                float teamplayers = 0, without_me = 0;
                                switch(argv(2))
                                {
-                                       case "ALLPLAYERS_BUT_ME":               without_me = 1;
+                                       case "ALLPLAYERS_BUT_ME":               without_me = 1; // fall through
                                        case "ALLPLAYERS":                              teamplayers = 0; break;
-                                       case "OWNTEAMPLAYERS_BUT_ME":   without_me = 1;
+                                       case "OWNTEAMPLAYERS_BUT_ME":   without_me = 1; // fall through
                                        case "OWNTEAMPLAYERS":                  teamplayers = 1; break;
                                        case "ENEMYTEAMPLAYERS":                teamplayers = 2; break;
                                        default: continue;
@@ -802,7 +802,7 @@ void QuickMenu_Default(string target_submenu)
 
                QUICKMENU_SMENU(CTX(_("QMCMD^Sound settings")), "Sound settings")
                        QUICKMENU_ENTRY(CTX(_("QMCMD^Hit sound")), "toggle cl_hitsound")
-                       QUICKMENU_ENTRY(CTX(_("QMCMD^Chat sound")), "toggle cl_chatsound")
+                       QUICKMENU_ENTRY(CTX(_("QMCMD^Chat sound")), "toggle con_chatsound")
                QUICKMENU_SMENU(CTX(_("QMCMD^Sound settings")), "Sound settings")
 
                if(spectatee_status > 0)