1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00
This commit is contained in:
Tomasz Zieliński
2023-12-15 18:26:59 +01:00
parent 99870be24c
commit 339627731c
2 changed files with 1 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ rmg::Path ObjectManager::placeAndConnectObject(const rmg::Area & searchArea, rmg
return !obj.getArea().contains(t);
});
}
auto path = zone.searchPath(accessibleArea, onlyStraight, cachedArea);
auto path = zone.searchPath(accessibleArea, onlyStraight, subArea);
if(path.valid())
{