From 3d9702dfd4be52e5df8fa69abd919619bf95c618 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Sun, 27 Jan 2019 10:38:47 +0100 Subject: [PATCH] Fix #8141: Attempting to build entrance/exit on station 2 does not work --- distribution/changelog.txt | 1 + src/openrct2/ride/Track.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index d54ab7b186..a428e4304a 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -39,6 +39,7 @@ - Fix: [#8101] Title sequences window flashes after opening. - Fix: [#8120] Crash trying to place peep spawn outside of map. - Fix: [#8121] Crash Renaming park with server logging enabled. +- Fix: [#8141] Attempting to build entrance/exit on station 2 does not work. - Fix: [#8142] Reliability of mazes and crooked houses can go below 100%. - Fix: [#8187] Cannot set land ownership over ride entrances or exits in sandbox mode. - Fix: [#8200] Incorrect behaviour when removing entrances and exits that are on the same tile. diff --git a/src/openrct2/ride/Track.cpp b/src/openrct2/ride/Track.cpp index acfe121d27..22f4c046ce 100644 --- a/src/openrct2/ride/Track.cpp +++ b/src/openrct2/ride/Track.cpp @@ -1794,9 +1794,9 @@ static money32 track_remove( footpath_remove_edges_at(x, y, tileElement); } tile_element_remove(tileElement); + sub_6CB945(rideIndex); if (!(flags & GAME_COMMAND_FLAG_GHOST)) { - sub_6CB945(rideIndex); ride_update_max_vehicles(ride); } }