Fixes falling though map when using charge on a hill.
This commit is contained in:
@@ -207,7 +207,7 @@ namespace Game.Chat
|
||||
for (int i = 0; i < navmesh.getMaxTiles(); ++i)
|
||||
{
|
||||
Detour.dtMeshTile tile = navmesh.getTile(i);
|
||||
if (tile == null)
|
||||
if (tile.header == null)
|
||||
continue;
|
||||
|
||||
tileCount++;
|
||||
|
||||
Reference in New Issue
Block a user