mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Refactor explicit constructor usage in SmallScenerySetColourAction
This commit is contained in:
@@ -84,7 +84,7 @@ GameActions::Result::Ptr SmallScenerySetColourAction::QueryExecute(bool isExecut
|
||||
if (sceneryElement == nullptr)
|
||||
{
|
||||
log_error("Small scenery not found at: x = %d, y = %d, z = %d", _loc.x, _loc.y, _loc.z);
|
||||
return MakeResult(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS);
|
||||
return MakeResult(GameActions::Status::InvalidParameters, STR_CANT_REPAINT_THIS, STR_NONE);
|
||||
}
|
||||
|
||||
if ((GetFlags() & GAME_COMMAND_FLAG_GHOST) && !(sceneryElement->IsGhost()))
|
||||
|
||||
Reference in New Issue
Block a user