forked from rosebudai/OpenRCT2-Web
Rename members of GameActions::Status
This commit is contained in:
110 files changed
+728
-728
No files matched your search
@@ -1444,7 +1444,7 @@ void ClearElementAt(const CoordsXY& loc, TileElement** elementPtr)
|
||||
auto parkEntranceRemoveAction = GameActions::ParkEntranceRemoveAction(CoordsXYZ{ seqLoc, element->GetBaseZ() });
|
||||
auto result = GameActions::ExecuteNested(&parkEntranceRemoveAction, gameState);
|
||||
// If asking nicely did not work, forcibly remove this to avoid an infinite loop.
|
||||
if (result.Error != GameActions::Status::Ok)
|
||||
if (result.Error != GameActions::Status::ok)
|
||||
{
|
||||
TileElementRemove(element);
|
||||
}
|
||||
@@ -1456,7 +1456,7 @@ void ClearElementAt(const CoordsXY& loc, TileElement** elementPtr)
|
||||
auto wallRemoveAction = GameActions::WallRemoveAction(wallLocation);
|
||||
auto result = GameActions::ExecuteNested(&wallRemoveAction, gameState);
|
||||
// If asking nicely did not work, forcibly remove this to avoid an infinite loop.
|
||||
if (result.Error != GameActions::Status::Ok)
|
||||
if (result.Error != GameActions::Status::ok)
|
||||
{
|
||||
TileElementRemove(element);
|
||||
}
|
||||
@@ -1468,7 +1468,7 @@ void ClearElementAt(const CoordsXY& loc, TileElement** elementPtr)
|
||||
{ loc.x, loc.y, element->GetBaseZ(), element->GetDirection() }, element->AsLargeScenery()->GetSequenceIndex());
|
||||
auto result = GameActions::ExecuteNested(&removeSceneryAction, gameState);
|
||||
// If asking nicely did not work, forcibly remove this to avoid an infinite loop.
|
||||
if (result.Error != GameActions::Status::Ok)
|
||||
if (result.Error != GameActions::Status::ok)
|
||||
{
|
||||
TileElementRemove(element);
|
||||
}
|
||||
@@ -1480,7 +1480,7 @@ void ClearElementAt(const CoordsXY& loc, TileElement** elementPtr)
|
||||
{ loc.x, loc.y, element->GetBaseZ(), element->AsBanner()->GetPosition() });
|
||||
auto result = GameActions::ExecuteNested(&bannerRemoveAction, gameState);
|
||||
// If asking nicely did not work, forcibly remove this to avoid an infinite loop.
|
||||
if (result.Error != GameActions::Status::Ok)
|
||||
if (result.Error != GameActions::Status::ok)
|
||||
{
|
||||
TileElementRemove(element);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user