1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Replace LocationXYZ32

This commit is contained in:
Michael Steenbeek
2018-02-16 09:42:36 +01:00
parent ec79334e0c
commit 359e9ecf2d
5 changed files with 4 additions and 8 deletions

View File

@@ -2225,7 +2225,7 @@ void track_design_draw_preview(rct_track_td6 * td6, uint8 * pixels)
td6->cost = cost;
td6->track_flags = flags & 7;
LocationXYZ32 centre;
CoordsXYZ centre;
centre.x = (gTrackPreviewMin.x + gTrackPreviewMax.x) / 2 + 16;
centre.y = (gTrackPreviewMin.y + gTrackPreviewMax.y) / 2 + 16;
centre.z = (gTrackPreviewMin.z + gTrackPreviewMax.z) / 2;