Clean up tile element usage, introduce struct methods

This commit is contained in:
Michael Steenbeek committed 2018-05-02 11:58:12 +02:00
1 parent cc694e27d8
commit ef433df26a
20 files changed
+112 -61

No files matched your search

+1 -1
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;
}