1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Add temporary fix to make mechanics find ride exits

This commit is contained in:
Hielke Morsink
2018-01-29 14:32:43 +01:00
committed by Hielke Morsink
parent 5e86782f0a
commit b6823242b6

View File

@@ -606,6 +606,9 @@ sint32 tile_inspector_entrance_make_usable(sint32 x, sint32 y, sint32 elementInd
case ENTRANCE_TYPE_RIDE_EXIT:
ride->exits[stationIndex].x = x;
ride->exits[stationIndex].y = y;
// TODO: Remove once mechanics don't assume exits always match the station heights
ride->station_heights[stationIndex] = entranceElement->base_height;
break;
}