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 -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);
}
}