forked from rosebudai/OpenRCT2-Web
No reason specified when placing door off edge of map
This commit is contained in:
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user