moved pathing crap out of actor

- despawn actors on moving too far from spawn
- added clampy stuff (<3 devi)
This commit is contained in:
Tahir Akhlaq committed 2017-06-29 19:14:01 +01:00
1 parent bd97e72774
commit a62475e81e
12 files changed
+308 -239

No files matched your search

@@ -202,6 +202,7 @@ namespace FFXIVClassic_Map_Server.Actors
mActorBlock[gridOldX, gridOldY].Remove(actor);
mActorBlock[gridX, gridY].Add(actor);
}
this.hasMoved = true;
}
public List<Actor> GetActorsAroundPoint(float x, float y, int checkDistance)
@@ -22,7 +22,6 @@ namespace FFXIVClassic_Map_Server.actors.area
Dictionary<string, List<PrivateAreaContent>> contentAreas = new Dictionary<string, List<PrivateAreaContent>>();
Object contentAreasLock = new Object();
public Detour.dtNavMesh navMesh;
public SharpNav.TiledNavMesh tiledNavMesh;
public SharpNav.NavMeshQuery navMeshQuery;
public Int64 pathCalls;