From acc141d6263320b39c499429baebc505049818de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Zieli=C5=84ski?= Date: Sat, 17 Jun 2023 19:31:16 +0200 Subject: [PATCH] Fix unused variable --- lib/rmg/modificators/ConnectionsPlacer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rmg/modificators/ConnectionsPlacer.cpp b/lib/rmg/modificators/ConnectionsPlacer.cpp index bd0548316..977f22a27 100644 --- a/lib/rmg/modificators/ConnectionsPlacer.cpp +++ b/lib/rmg/modificators/ConnectionsPlacer.cpp @@ -390,7 +390,7 @@ void ConnectionsPlacer::createBorder() if (connection.getConnectionType() == EConnectionType::EConnectionType::WIDE) { - auto sharedBorder = borderArea.getSubarea([this, otherZone, &connection, &borderOutsideArea](const int3 & t) + auto sharedBorder = borderArea.getSubarea([this, otherZone, &borderOutsideArea](const int3 & t) { auto tile = borderOutsideArea.nearest(t); return map.isOnMap(tile) && map.getZones()[map.getZoneID(tile)]->getId() == otherZone;