No reason specified when placing door off edge of map

This commit is contained in:
Gymnasiast committed 2024-04-28 22:53:01 +02:00
1 parent 6335906d03
commit de0ca4ded4
1 file changed
+1 -1
+1 -1
View File
@@ -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)