mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 17:24:47 +01:00
Close #13625: Refactor TOOL_IDX to use strong enum
This commit is contained in:
@@ -1756,7 +1756,7 @@ static bool ride_modify_entrance_or_exit(const CoordsXYE& tileElement)
|
||||
tool_set(
|
||||
constructionWindow,
|
||||
entranceType == ENTRANCE_TYPE_RIDE_ENTRANCE ? WC_RIDE_CONSTRUCTION__WIDX_ENTRANCE : WC_RIDE_CONSTRUCTION__WIDX_EXIT,
|
||||
TOOL_CROSSHAIR);
|
||||
Tool::Crosshair);
|
||||
gRideEntranceExitPlaceType = entranceType;
|
||||
gRideEntranceExitPlaceRideIndex = rideIndex;
|
||||
gRideEntranceExitPlaceStationIndex = stationIndex;
|
||||
@@ -1944,7 +1944,7 @@ int32_t ride_initialise_construction_window(Ride* ride)
|
||||
|
||||
w = ride_create_or_find_construction_window(ride->id);
|
||||
|
||||
tool_set(w, WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT, TOOL_CROSSHAIR);
|
||||
tool_set(w, WC_RIDE_CONSTRUCTION__WIDX_CONSTRUCT, Tool::Crosshair);
|
||||
input_set_flag(INPUT_FLAG_6, true);
|
||||
|
||||
ride = get_ride(_currentRideIndex);
|
||||
|
||||
Reference in New Issue
Block a user