Add temporary fix to make mechanics find ride exits

This commit is contained in:
Hielke Morsink authored and Hielke Morsink committed 2018-02-06 19:09:51 +01:00
1 parent 5e86782f0a
commit b6823242b6
1 file changed
+3
+3
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;
}