diff --git a/src/config.c b/src/config.c index fea6290123..060dd40855 100644 --- a/src/config.c +++ b/src/config.c @@ -1035,7 +1035,7 @@ static const uint16 _defaultShortcutKeys[SHORTCUT_COUNT] = { PLATFORM_MODIFIER | SDL_SCANCODE_F10, // SHORTCUT_QUICK_SAVE_GAME SHORTCUT_UNDEFINED, // SHORTCUT_SHOW_OPTIONS - SHORTCUT_UNDEFINED, // SHORTCUT_SHOW_OPTIONS + SHORTCUT_UNDEFINED, // SHORTCUT_MUTE_SOUND }; #define SHORTCUT_FILE_VERSION 1 diff --git a/src/interface/keyboard_shortcut.c b/src/interface/keyboard_shortcut.c index c99fdb0cd0..086d64a056 100644 --- a/src/interface/keyboard_shortcut.c +++ b/src/interface/keyboard_shortcut.c @@ -533,7 +533,6 @@ static void shortcut_show_options() static void shortcut_mute_sound() { audio_toggle_all_sounds(); - } static const shortcut_action shortcut_table[SHORTCUT_COUNT] = { diff --git a/src/windows/options.c b/src/windows/options.c index 5d5ff3cfd0..ce48149264 100644 --- a/src/windows/options.c +++ b/src/windows/options.c @@ -636,7 +636,6 @@ static void window_options_mouseup(rct_window *w, int widgetIndex) case WINDOW_OPTIONS_PAGE_AUDIO: switch (widgetIndex) { case WIDX_SOUND_CHECKBOX: - //audio_toggle_all_sounds(); gConfigSound.sound_enabled = !gConfigSound.sound_enabled; config_save_default(); window_invalidate(w);