mirror of
https://github.com/rosebudai/OpenRCT2-Web.git
synced 2026-12-05 12:45:14 +01:00
Format code which was committed on github.com
This commit is contained in:
1 parent
7bb8fd7131
commit
704c779bf2
1 file changed
+2
-1
@@ -94,7 +94,8 @@ GameActions::Result RideEntranceExitRemoveAction::Query() const
|
||||
// If we are trying to remove a ghost and the element we found is real, return an error, but don't log a warning
|
||||
if (entranceElement != nullptr && (GetFlags() & GAME_COMMAND_FLAG_GHOST) && !(entranceElement->IsGhost()))
|
||||
{
|
||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_ERR_INVALID_PARAMETER, STR_ERR_GHOST_ELEMENT_NOT_FOUND);
|
||||
return GameActions::Result(
|
||||
GameActions::Status::InvalidParameters, STR_ERR_INVALID_PARAMETER, STR_ERR_GHOST_ELEMENT_NOT_FOUND);
|
||||
}
|
||||
else if (entranceElement == nullptr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user