mirror of https://github.com/OpenRCT2/OpenRCT2.git
Do not turn off chain when building downhill if chain cheat is on
This commit is contained in:
parent
bd7ac0bace
commit
047a7f8090
|
@ -3130,7 +3130,7 @@ static void UpdateLiftHillSelected(int32_t slope)
|
|||
{
|
||||
_currentTrackSlopeEnd = slope;
|
||||
_currentTrackPrice = MONEY32_UNDEFINED;
|
||||
if (_rideConstructionState == RideConstructionState::Front)
|
||||
if (_rideConstructionState == RideConstructionState::Front && !gCheatsEnableChainLiftOnAllTrack)
|
||||
{
|
||||
switch (slope)
|
||||
{
|
||||
|
|
|
@ -683,8 +683,8 @@ void ride_construction_set_default_next_piece()
|
|||
// Set track slope and lift hill
|
||||
_currentTrackSlopeEnd = slope;
|
||||
_previousTrackSlopeEnd = slope;
|
||||
_currentTrackLiftHill = tileElement->AsTrack()->HasChain() && slope != TRACK_SLOPE_DOWN_25
|
||||
&& slope != TRACK_SLOPE_DOWN_60;
|
||||
_currentTrackLiftHill = tileElement->AsTrack()->HasChain()
|
||||
&& ((slope != TRACK_SLOPE_DOWN_25 && slope != TRACK_SLOPE_DOWN_60) || gCheatsEnableChainLiftOnAllTrack);
|
||||
break;
|
||||
case RideConstructionState::Back:
|
||||
direction = direction_reverse(_currentTrackPieceDirection);
|
||||
|
|
Loading…
Reference in New Issue