diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 88d71712d7..7c55519952 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -14,6 +14,7 @@ - Fix: [#13986] OpenGL: Track preview window, flip/rotate button do not update the thumbnail. - Fix: [#14315] Crash when trying to rename Air Powered Vertical Coaster in Korean. - Fix: [#14330] join_server uses default_port from config. +- Fix: [#14415] Entrances/exits are removed when built on top of each other. - Fix: [#14449] Surface smoothing at extra zoom levels not working. - Fix: [#14468] Cannot close Options window on Android. - Fix: [#14493] [Plugin] isHidden only works for tile elements up to the first element with a base height of over 32. diff --git a/src/openrct2/ride/Ride.cpp b/src/openrct2/ride/Ride.cpp index 60c3d42e7d..4f8fb4e147 100644 --- a/src/openrct2/ride/Ride.cpp +++ b/src/openrct2/ride/Ride.cpp @@ -6671,6 +6671,8 @@ void sub_6CB945(Ride* ride) { if (tileElement->GetType() != TILE_ELEMENT_TYPE_ENTRANCE) continue; + if (tileElement->base_height != locationCoords.z) + continue; if (tileElement->AsEntrance()->GetRideIndex() != ride->id) continue; if (tileElement->AsEntrance()->GetEntranceType() > ENTRANCE_TYPE_RIDE_EXIT)