mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-28 23:06:24 +02:00
Fix unused variable
This commit is contained in:
parent
9cee751026
commit
acc141d626
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user