From 8a8967d1cf94896da9a2dc311a68fcd3a30871cf Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 29 Aug 2015 21:44:34 +0200 Subject: [PATCH] Fix quickmenu setting: cl_chatsound --> con_chatsound --- qcsrc/client/quickmenu.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/client/quickmenu.qc b/qcsrc/client/quickmenu.qc index 8237fd2f8..597722469 100644 --- a/qcsrc/client/quickmenu.qc +++ b/qcsrc/client/quickmenu.qc @@ -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) -- 2.39.2