Robmaister / SharpNav

Advanced Pathfinding for C#
sharpnav.com
Other
537 stars 129 forks source link

AgentTrail count #27

Closed arandra closed 9 years ago

arandra commented 9 years ago

private AgentTrail[] trails = new AgentTrail[AGENT_MAX_TRAIL];

should be

private AgentTrail[] trails = new AgentTrail[MAX_AGENTS];

Robmaister commented 9 years ago

Thanks! Slowly but surely removing the directly ported C++ with code that better fits a C# style (like generic lists instead of arrays, etc)