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

Fix mistake on Coords Z assignment

This commit is contained in:
Tulio Leao
2019-11-14 07:27:28 -03:00
parent 7e65aeaea3
commit 0bc28406e0

View File

@@ -6225,7 +6225,7 @@ CoordsXYZD ride_get_entrance_or_exit_position_from_screen_position(ScreenCoordsX
word_F4418C = mapX;
word_F4418E = mapY;
entranceExitCoords = { floor2(mapX, 32), floor2(mapY, 32), entranceExitCoords.z, stationHeight };
entranceExitCoords = { floor2(mapX, 32), floor2(mapY, 32), stationHeight, INVALID_DIRECTION };
if (ride->type == RIDE_TYPE_NULL)
{