Refactor explicit constructor usage in SmallSceneryRemoveAction

This commit is contained in:
ζeh Matt committed 2021-10-27 04:32:03 +03:00
1 parent d99c6641e7
commit 76114bca2f
1 file changed
+1 -1
@@ -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;