mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Fixes
This commit is contained in:
parent
99870be24c
commit
339627731c
@ -191,7 +191,6 @@ Object::Object(CGObjectInstance & object):
|
||||
}
|
||||
|
||||
Object::Object(const Object & object):
|
||||
dStrength(object.dStrength),
|
||||
guarded(false)
|
||||
{
|
||||
for(const auto & i : object.dInstances)
|
||||
|
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user