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