mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Check road settings for connections
This commit is contained in:
@@ -241,7 +241,7 @@ void ConnectionsPlacer::selfSideDirectConnection(const rmg::ZoneConnection & con
|
|||||||
{
|
{
|
||||||
rmg::Object monster(*monsterType);
|
rmg::Object monster(*monsterType);
|
||||||
monster.setPosition(guardPos);
|
monster.setPosition(guardPos);
|
||||||
manager.placeObject(monster, false, true, true);
|
manager.placeObject(monster, false, true);
|
||||||
//Place objects away from the monster in the other zone, too
|
//Place objects away from the monster in the other zone, too
|
||||||
otherZone->getModificator<ObjectManager>()->updateDistances(monster);
|
otherZone->getModificator<ObjectManager>()->updateDistances(monster);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user