1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix #6052: Unable to place entrance/exit on certain ride types.

This commit is contained in:
ZehMatt
2017-07-28 10:56:04 +02:00
committed by Ted John
parent b2b808f25e
commit 3313590784
2 changed files with 3 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
- Fix: [#5984] Allow socket binding to same port after crash
- Fix: [#5998] Staff not getting paid / no loan interest.
- Fix: [#6026] 'Select ride to advertise' dropdown does not display all items.
- Fix: [#6052] Unable to place entrance/exit on certain ride types.
- Improved: [#4301] Leading and trailing whitespace in player name is now removed.
- Improved: [#5859] OpenGL rendering performance
- Improved: [#5863] Switching drawing engines no longer requires the application to restart.

View File

@@ -1632,8 +1632,8 @@ static money32 track_remove(uint8 type, uint8 sequence, sint16 originX, sint16 o
footpath_remove_edges_at(x, y, mapElement);
}
map_element_remove(mapElement);
sub_6CB945(rideIndex);
if (!(flags & (1 << 6))){
if (!(flags & GAME_COMMAND_FLAG_GHOST)){
sub_6CB945(rideIndex);
ride_update_max_vehicles(rideIndex);
}
}