1
0
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:
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

@@ -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;
}
}
};