mirror of https://github.com/OpenRCT2/OpenRCT2.git
Stop all sounds when pausing the game, but allow new sounds to play. This allows interface sounds to function while paused, which fixes #6293.
This commit is contained in:
parent
271f15328b
commit
aca7048377
|
@ -46,6 +46,7 @@
|
|||
- Fix: [#6251] Splash Boats renders flat-to-25-degree pieces in tunnels incorrectly.
|
||||
- Fix: [#6261, #6344, #6520] Broken pathfinding after removing park entrances with the tile inspector.
|
||||
- Fix: [#6271] Wrong booster speed tooltip text.
|
||||
- Fix: [#6293] Restored interface sounds while gameplay is paused.
|
||||
- Fix: [#6301] Track list freezes after deleting track in Track Manager.
|
||||
- Fix: [#6308] Cannot create title sequence if title sequences folder does not exist.
|
||||
- Fix: [#6318] Cannot sack staff that have not been placed
|
||||
|
|
|
@ -906,9 +906,7 @@ void pause_toggle()
|
|||
gGamePaused ^= GAME_PAUSED_NORMAL;
|
||||
window_invalidate_by_class(WC_TOP_TOOLBAR);
|
||||
if (gGamePaused & GAME_PAUSED_NORMAL) {
|
||||
audio_pause_sounds();
|
||||
} else {
|
||||
audio_unpause_sounds();
|
||||
audio_stop_all_music_and_sounds();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue