mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix #1667
This commit is contained in:
parent
2d770093e9
commit
a3ff453f40
|
@ -1364,7 +1364,7 @@ void ride_construction_set_default_next_piece()
|
|||
// Set track slope and lift hill
|
||||
_currentTrackSlopeEnd = slope;
|
||||
_previousTrackSlopeEnd = slope;
|
||||
_currentTrackLiftHill = ((mapElement->type & 0x80) && slope != TRACK_SLOPE_DOWN_25 && slope != TRACK_SLOPE_DOWN_60);
|
||||
_currentTrackLiftHill = ((mapElement->type & 0x80) && slope != TRACK_SLOPE_DOWN_25 && slope != TRACK_SLOPE_DOWN_60) != 0;
|
||||
break;
|
||||
case RIDE_CONSTRUCTION_STATE_BACK:
|
||||
rideIndex = _currentRideIndex;
|
||||
|
@ -1416,7 +1416,7 @@ void ride_construction_set_default_next_piece()
|
|||
// Set track slope and lift hill
|
||||
_currentTrackSlopeEnd = slope;
|
||||
_previousTrackSlopeEnd = slope;
|
||||
_currentTrackLiftHill = (mapElement->type & 0x80);
|
||||
_currentTrackLiftHill = (mapElement->type & 0x80) != 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue