Refactor explicit constructor usage in LandSmoothAction

This commit is contained in:
ζeh Matt committed 2021-10-27 04:32:07 +03:00
1 parent 12a200abfe
commit 3bb86ebcfa
1 file changed
+1 -1
+1 -1
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