Fix #5981: Ride list doesn't update after using quick demolish

This commit is contained in:
Richard Jenkins 2017-07-26 10:07:12 +01:00 committed by Michael Steenbeek
parent 11711fe4c4
commit a2f8720143
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@
- Fix: [#5920] Placing guest spawn doesn't do anything every 3rd click
- Fix: [#5939] Crash when importing 'Six Flags Santa Fe'.
- Fix: [#5977] Custom music files not showing up in music list
- Fix: [#5981] Ride list doesn't update after using quick demolish.
- Fix: [#5984] Allow socket binding to same port after crash
- Improved: [#4301] Leading and trailing whitespace in player name is now removed.
- Improved: [#5859] OpenGL rendering performance

View File

@ -441,6 +441,7 @@ static void window_ride_list_scrollmousedown(rct_window *w, sint32 scrollIndex,
if (_quickDemolishMode && network_get_mode() != NETWORK_MODE_CLIENT) {
gGameCommandErrorTitle = STR_CANT_DEMOLISH_RIDE;
game_do_command(0, GAME_COMMAND_FLAG_APPLY, 0, rideIndex, GAME_COMMAND_DEMOLISH_RIDE, 0, 0);
window_ride_list_refresh_list(w);
}
else {
window_ride_main_open(rideIndex);