1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 01:35:06 +01:00

Move station_starts to TileCoordsXY

This commit is contained in:
duncanspumpkin
2019-12-21 11:48:13 +00:00
parent 7297125cae
commit 45403ac2d3
10 changed files with 25 additions and 23 deletions

View File

@@ -2797,7 +2797,7 @@ static bool vehicle_can_depart_synchronised(rct_vehicle* vehicle)
return false;
int32_t station = vehicle->current_station;
LocationXY8 location = ride->stations[station].Start;
auto location = ride->stations[station].Start;
int32_t x = location.x * 32;
int32_t y = location.y * 32;
int32_t z = ride->stations[station].Height;