mirror of
https://github.com/rosebudai/OpenRCT2-Web.git
synced 2026-12-06 05:05:14 +01:00
Rename members of GameActions::Status
This commit is contained in:
110 files changed
+728
-728
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user