Fix #5636: Pausing the game shows mute button as active

This commit is contained in:
Ted John 2017-11-21 23:23:43 +00:00
parent c1400a12eb
commit a98c936316
3 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@
- Fix: [#5445] Patrol area not imported from RCT1 saves and scenarios.
- Fix: [#5585] Inconsistent zooming with mouse wheel.
- Fix: [#5609] Vehicle switching may cause '0 cars per train' to be set.
- Fix: [#5636] Pausing the game shows mute button as active.
- Fix: [#5741] Land rights indicators disappear when switching views.
- Fix: [#5788] Empty scenario names cause invisible entries in scenario list.
- Fix: [#6101] Rides remain in ride list window briefly after demolition.

View File

@ -4997,7 +4997,7 @@ static void setup_scenery_selection(rct_window* w)
gGamePaused |= GAME_PAUSED_SAVING_TRACK;
gTrackDesignSaveMode = true;
audio_pause_sounds();
audio_stop_all_music_and_sounds();
rct_window* w_main = window_get_main();

View File

@ -186,7 +186,7 @@ rct_window * window_save_prompt_open()
// Pause the game
gGamePaused |= GAME_PAUSED_MODAL;
audio_pause_sounds();
audio_stop_all_music_and_sounds();
window_invalidate_by_class(WC_TOP_TOOLBAR);
stringId = window_save_prompt_labels[prompt_mode][0];