mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Fixes
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user