1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Fix #4522: Theme music doesn't stop when connected to paused server

Refactor audio initialisation and stop all music and sounds when the screen mode changes.
This commit is contained in:
Ted John
2016-10-03 18:14:34 +01:00
parent 744bc05906
commit 862b715003
9 changed files with 44 additions and 29 deletions

View File

@@ -151,11 +151,6 @@ bool rct2_init()
gScenarioTicks = 0;
util_srand((unsigned int)time(0));
if (!rct2_init_directories())
return false;
if (!rct2_startup_checks())
return false;
config_reset_shortcut_keys();
config_shortcut_keys_load();