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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user