From 76114bca2ff6e61a10f6fe063b0799e47dac49be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Thu, 21 Oct 2021 20:26:21 +0300 Subject: [PATCH] Refactor explicit constructor usage in SmallSceneryRemoveAction --- src/openrct2/actions/SmallSceneryRemoveAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/actions/SmallSceneryRemoveAction.cpp b/src/openrct2/actions/SmallSceneryRemoveAction.cpp index 007737dacf..f145ca596f 100644 --- a/src/openrct2/actions/SmallSceneryRemoveAction.cpp +++ b/src/openrct2/actions/SmallSceneryRemoveAction.cpp @@ -111,7 +111,7 @@ GameActions::Result::Ptr SmallSceneryRemoveAction::Execute() const auto* entry = get_small_scenery_entry(_sceneryType); if (entry == nullptr) { - return MakeResult(GameActions::Status::InvalidParameters, STR_INVALID_SELECTION_OF_OBJECTS); + return MakeResult(GameActions::Status::InvalidParameters, STR_CANT_REMOVE_THIS, STR_INVALID_SELECTION_OF_OBJECTS); } res->Cost = entry->removal_price * 10;