mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 08:12:53 +01:00
Clean up tile element usage, introduce struct methods
This commit is contained in:
@@ -99,9 +99,9 @@ public:
|
||||
Ride *ride, rct_ride_entry *rideEntry
|
||||
) override {
|
||||
if (variant == 0) {
|
||||
tileElement->type &= ~TRACK_ELEMENT_FLAG_CHAIN_LIFT;
|
||||
tileElement->type &= ~TRACK_ELEMENT_TYPE_FLAG_CHAIN_LIFT;
|
||||
} else {
|
||||
tileElement->type |= TRACK_ELEMENT_FLAG_CHAIN_LIFT;
|
||||
tileElement->type |= TRACK_ELEMENT_TYPE_FLAG_CHAIN_LIFT;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user