Fix sound continuing in title screen (hopefully)

This commit is contained in:
Gymnasiast 2015-06-10 10:49:32 +02:00
parent 90d5c07b88
commit 5b0ada3100
1 changed files with 3 additions and 0 deletions

View File

@ -455,6 +455,9 @@ static void window_top_toolbar_dropdown()
case DDIDX_QUIT_TO_MENU:
window_close_by_class(WC_MANAGE_TRACK_DESIGN);
window_close_by_class(WC_TRACK_DELETE_PROMPT);
stop_ride_music();
stop_crowd_sound();
stop_other_sounds();
game_do_command(0, 1, 0, 0, GAME_COMMAND_LOAD_OR_QUIT, 1, 0);
break;
case DDIDX_EXIT_OPENRCT2: