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:
@@ -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
|
||||
|
||||
@@ -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] = {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user