mirror of https://github.com/OpenRCT2/OpenRCT2.git
No reason specified when placing door off edge of map
This commit is contained in:
parent
6335906d03
commit
de0ca4ded4
|
@ -102,7 +102,7 @@ GameActions::Result WallPlaceAction::Query() const
|
|||
else if (!_trackDesignDrawingPreview && (_loc.x > mapSizeMax.x || _loc.y > mapSizeMax.y))
|
||||
{
|
||||
LOG_ERROR("Invalid x/y coordinates. x = %d y = %d", _loc.x, _loc.y);
|
||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_BUILD_THIS_HERE, STR_NONE);
|
||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_BUILD_THIS_HERE, STR_OFF_EDGE_OF_MAP);
|
||||
}
|
||||
|
||||
if (_edge > 3)
|
||||
|
|
Loading…
Reference in New Issue