1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Clean up tile element usage, introduce struct methods

This commit is contained in:
Michael Steenbeek
2018-05-02 10:31:03 +02:00
parent cc694e27d8
commit ef433df26a
20 changed files with 112 additions and 61 deletions

View File

@@ -1454,7 +1454,7 @@ static bool track_design_place_ride(rct_track_td6 * td6, sint16 x, sint16 y, sin
(tempZ & 0xFFFF);
sint32 edx = _currentRideIndex | (trackType << 8);
if (track->flags & TRACK_ELEMENT_FLAG_CHAIN_LIFT)
if (track->flags & TRACK_ELEMENT_TYPE_FLAG_CHAIN_LIFT)
{
edx |= 0x10000;
}