1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fix unused variable

This commit is contained in:
Tomasz Zieliński 2023-06-17 19:31:16 +02:00
parent 9cee751026
commit acc141d626

View File

@ -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;