From 704c779bf20a01de7aed47ff6fa0cbc67b5a90fa Mon Sep 17 00:00:00 2001 From: Peter Froud Date: Mon, 29 Jan 2024 02:15:27 -0800 Subject: [PATCH] Format code which was committed on github.com --- src/openrct2/actions/RideEntranceExitRemoveAction.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openrct2/actions/RideEntranceExitRemoveAction.cpp b/src/openrct2/actions/RideEntranceExitRemoveAction.cpp index f70cb5fb15..501d6ba3a2 100644 --- a/src/openrct2/actions/RideEntranceExitRemoveAction.cpp +++ b/src/openrct2/actions/RideEntranceExitRemoveAction.cpp @@ -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) {