This commit is contained in:
IntelOrca 2015-08-05 13:36:46 +01:00
parent 2d770093e9
commit a3ff453f40
1 changed files with 2 additions and 2 deletions

View File

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