1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Add check for ghost entrance removal.

Fixes #1601
This commit is contained in:
Duncan Frost
2015-07-13 21:18:55 +01:00
parent 8504486b28
commit 23bb22c3af

View File

@@ -6149,6 +6149,9 @@ money32 remove_ride_entrance_or_exit(sint16 x, sint16 y, uint8 rideIndex, uint8
if (mapElement->base_height != ride->station_heights[station_num])
continue;
if (flags & (1 << 5) && !(mapElement->flags & MAP_ELEMENT_FLAG_GHOST))
continue;
found = 1;
break;
} while (!map_element_is_last_for_tile(mapElement++));