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

Add methods for getting and setting track element type

This commit is contained in:
Michael Steenbeek
2017-11-14 15:01:19 +01:00
parent 5a7ace134f
commit f448d16707
39 changed files with 235 additions and 225 deletions

View File

@@ -407,7 +407,7 @@ private:
for (int direction = 0; direction < 4; direction++) {
rct_tile_element tileElement = { 0 };
tileElement.flags |= TILE_ELEMENT_FLAG_LAST_TILE;
tileElement.properties.track.type = trackType;
track_element_set_type(tileElement, trackType);
tileElement.base_height = 3;
if (_invertedTrack)
{