1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00
This commit is contained in:
IntelOrca
2015-09-07 18:18:52 +01:00
parent 72000196dd
commit af39fcd35f

View File

@@ -3949,7 +3949,7 @@ static money32 track_place(int rideIndex, int type, int originX, int originY, in
}
}
if ((edx_flags & (1 << 0)) && !(enabledTrackPieces & TRACK_LIFT_HILL_STEEP)) {
if ((edx_flags & (1 << 0)) && !(enabledTrackPieces & (1ULL << TRACK_LIFT_HILL_STEEP))) {
if (RCT2_ADDRESS(0x0099423C, uint16)[type] & 0x400) {
RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, rct_string_id) = STR_TOO_STEEP_FOR_LIFT_HILL;
return MONEY32_UNDEFINED;