1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix formatting and rebase

This commit is contained in:
Gymnasiast
2016-04-20 20:14:07 +02:00
parent e0c103031e
commit 548bee8325
3 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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] = {

View File

@@ -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);