1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Refactor explicit constructor usage in LandSmoothAction

This commit is contained in:
ζeh Matt
2021-10-21 20:50:11 +03:00
parent 12a200abfe
commit 3bb86ebcfa

View File

@@ -608,7 +608,7 @@ GameActions::Result::Ptr LandSmoothAction::SmoothLand(bool isExecuting) const
}
default:
log_error("Invalid map selection %u", _selectionType);
return MakeResult(GameActions::Status::InvalidParameters, std::get<rct_string_id>(res->ErrorTitle));
return MakeResult(GameActions::Status::InvalidParameters, std::get<rct_string_id>(res->ErrorTitle), STR_NONE);
} // switch selectionType
// Raise / lower the land tool selection area