Fix #18994: Title music doesn't start after enabling master volume (#19621)

This commit is contained in:
Rik Smeets authored and GitHub committed 2023-03-11 16:30:40 +00:00
1 parent 75fb313e5a
commit ac2afdcfaf
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -42,6 +42,7 @@
- Fix: [#18911] Mini Golf station does not draw correctly from all angles.
- Fix: [#18971] New Game does not prompt for save before quitting.
- Fix: [#18986] [Plugin] Sending remote scripts larger than 63KiB crashing all clients.
- Fix: [#18994] Title music doesn’t start after enabling master volume.
- Fix: [#19025] Park loan behaves inconsistently with non-round and out-of-bounds values.
- Fix: [#19026] Park loan is clamped to a 32-bit integer.
- Fix: [#19068] Guests may not join queues correctly.
+2 -2
View File
@@ -398,11 +398,9 @@ namespace OpenRCT2::Audio
if (gConfigSound.MasterSoundEnabled)
{
Resume();
PlayTitleMusic();
}
else
{
StopTitleMusic();
Pause();
}
@@ -416,11 +414,13 @@ namespace OpenRCT2::Audio
RideAudio::StopAllChannels();
PeepStopCrowdNoise();
ClimateStopWeatherSound();
StopTitleMusic();
}
void Resume()
{
gGameSoundsOff = false;
PlayTitleMusic();
}
void StopVehicleSounds()