Fix #8141: Attempting to build entrance/exit on station 2 does not work

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2019-01-27 10:38:47 +01:00
1 parent 3b176cd6eb
commit 3d9702dfd4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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.
+1 -1
View File
@@ -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);
}
}