Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Jan 17, 2025
1 parent 773fa89 commit 0393faa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion data/language/en-GB.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,6 @@ STR_3136 :Warning: This design will be built with an alternative vehicle type
STR_3137 :Select Nearby Scenery
STR_3138 :Reset Selection
STR_3139 :Cable lift unable to work in this operating mode
STR_3140 :Cable lift hill must start immediately after station
STR_3141 :Multi-circuit per ride not possible with cable lift hill
STR_3142 :{WINDOW_COLOUR_2}Capacity: {BLACK}{STRINGID}
STR_3143 :Show people on map
Expand Down Expand Up @@ -3792,3 +3791,4 @@ STR_6725 :X:
STR_6726 :Y:
STR_6727 :Dive Loop (left)
STR_6728 :Dive Loop (right)
STR_6729 :Cable lift hill must start immediately after station or block brake
2 changes: 1 addition & 1 deletion src/openrct2/localisation/StringIds.h
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ enum : StringId
STR_CANT_REPAINT_THIS = 3103,
STR_ERR_UNABLE_TO_BUILD_THIS_ON_SLOPE = 3133,
STR_CABLE_LIFT_UNABLE_TO_WORK_IN_THIS_OPERATING_MODE = 3139,
STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION = 3140,
STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION_OR_BLOCK_BRAKE = 6729,
STR_MULTICIRCUIT_NOT_POSSIBLE_WITH_CABLE_LIFT_HILL = 3141,

STR_SELECT_NUMBER_OF_CIRCUITS_TIP = 3160,
Expand Down
6 changes: 3 additions & 3 deletions src/openrct2/ride/Ride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3785,7 +3785,7 @@ static ResultWithMessage RideInitialiseCableLiftTrack(const Ride& ride, bool isA
// Despawn existing cable lift tiles
CoordsXYE stationTile;
if (!RideGetStationTile(ride, &stationTile))
return { false, STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION };
return { false, STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION_OR_BLOCK_BRAKE };

if (isApplying)
{
Expand Down Expand Up @@ -3837,10 +3837,10 @@ static ResultWithMessage RideInitialiseCableLiftTrack(const Ride& ride, bool isA
case TrackElemType::BlockBrakes:
return { true };
default:
return { false, STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION };
return { false, STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION_OR_BLOCK_BRAKE };
}
}
return { false, STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION };
return { false, STR_CABLE_LIFT_HILL_MUST_START_IMMEDIATELY_AFTER_STATION_OR_BLOCK_BRAKE };
}

/**
Expand Down

0 comments on commit 0393faa

Please sign in to comment.