Make fear and fleeing respect navmesh for both clients and NPCs

This commit is contained in:
Akkadius committed 2018-09-03 03:06:23 -05:00
1 parent 8a580a7774
commit 8a28e8500d
3 files changed
+24 -19

No files matched your search

+3 -3
View File
@@ -904,10 +904,10 @@ bool Zone::Init(bool iStaticZone) {
RuleManager::Instance()->LoadRules(&database, r_name.c_str());
}
}
zone->zonemap = Map::LoadMapFile(zone->map_name);
zone->zonemap = Map::LoadMapFile(zone->map_name);
zone->watermap = WaterMap::LoadWaterMapfile(zone->map_name);
zone->pathing = IPathfinder::Load(zone->map_name);
zone->pathing = IPathfinder::Load(zone->map_name);
Log(Logs::General, Logs::Status, "Loading spawn conditions...");
if(!spawn_conditions.LoadSpawnConditions(short_name, instanceid)) {