Update FootpathAdditionPlaceAction.cpp

This commit is contained in:
Michael Steenbeek 2024-05-09 14:24:40 +02:00 committed by GitHub
parent b3e1675de9
commit 8b72741f16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ GameActions::Result FootpathAdditionPlaceAction::Query() const
&& (pathElement->GetEdges()) == 0x0F)
{
return GameActions::Result(
GameActions::Status::InvalidParameters, STR_CANT_POSITION_THIS_HERE,
STR_CAN_ONLY_BE_PLACED_ON_PATH_EDGES);
GameActions::Status::InvalidParameters, STR_CANT_POSITION_THIS_HERE, STR_CAN_ONLY_BE_PLACED_ON_PATH_EDGES);
}
if ((sceneryFlags & PATH_ADDITION_FLAG_IS_QUEUE_SCREEN) && !pathElement->IsQueue())