1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix #4771: Main Menu music not playing

When audio_init_ride_sounds is called, it calls audio_stop_title_music, but never calls audio_start_title_music. if you do an assert for gTitleMusicChannel it shows it is null. this fixes that. i will say though this is most definitely a band-aid fix, because if run audio_start_title_music in the audio_init_ride_sounds, it still doesn't play out loud. at least on my setup it doesn't.
This commit is contained in:
wolfreak99
2016-11-09 12:37:41 -05:00
committed by Ted John
parent 33749ccfbe
commit 1f0b2aefb7

View File

@@ -1330,6 +1330,7 @@ static void window_options_dropdown(rct_window *w, int widgetIndex, int dropdown
gConfigSound.device = strndup(devicename, AUDIO_DEVICE_NAME_SIZE);
}
config_save_default();
audio_start_title_music();
}
window_invalidate(w);
break;