mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 14:02:59 +01:00
Format code which was committed on github.com
This commit is contained in:
@@ -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