mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix formatting and declaration
This commit is contained in:
@@ -353,7 +353,7 @@ static void window_track_place_tooldown(rct_window* w, rct_widgetindex widgetInd
|
||||
auto res = FindValidTrackDesignPlaceHeight(trackLoc, 0);
|
||||
if (res->Error == GA_ERROR::OK)
|
||||
{
|
||||
auto tdAction = TrackDesignAction({trackLoc, _currentTrackPieceDirection }, *_trackDesign);
|
||||
auto tdAction = TrackDesignAction({ trackLoc, _currentTrackPieceDirection }, *_trackDesign);
|
||||
tdAction.SetCallback([trackLoc](const GameAction*, const TrackDesignActionResult* result) {
|
||||
if (result->Error == GA_ERROR::OK)
|
||||
{
|
||||
|
||||
@@ -1831,8 +1831,7 @@ int32_t place_virtual_track(
|
||||
return _trackDesignPlaceCost;
|
||||
}
|
||||
|
||||
|
||||
money32 track_design_ride_create_command(int32_t type, int32_t subType, int32_t flags, ride_id_t* outRideIndex)
|
||||
static money32 track_design_ride_create_command(int32_t type, int32_t subType, int32_t flags, ride_id_t* outRideIndex)
|
||||
{
|
||||
// Don't set colours as will be set correctly later.
|
||||
auto gameAction = RideCreateAction(type, subType, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user