Rename members of GameActions::Status

This commit is contained in:
Gymnasiast committed 2025-12-12 11:41:49 +01:00
1 parent 26289d096b
commit 5ffee91c8a
110 files changed
+728 -728

No files matched your search

+2 -2
View File
@@ -63,7 +63,7 @@ namespace OpenRCT2::GameActions
{
if (!LocationValid(_loc))
{
return Result(Status::InvalidParameters, STR_CANT_CHANGE_THIS, STR_OFF_EDGE_OF_MAP);
return Result(Status::invalidParameters, STR_CANT_CHANGE_THIS, STR_OFF_EDGE_OF_MAP);
}
auto res = Result();
switch (_setting)
@@ -240,7 +240,7 @@ namespace OpenRCT2::GameActions
}
default:
LOG_ERROR("Invalid tile modification type %u", _setting);
return Result(Status::InvalidParameters, STR_ERR_INVALID_PARAMETER, STR_ERR_VALUE_OUT_OF_RANGE);
return Result(Status::invalidParameters, STR_ERR_INVALID_PARAMETER, STR_ERR_VALUE_OUT_OF_RANGE);
}
res.Position.x = _loc.x;