Initialize m_nav to zero in dtNavMeshQuery

This commit is contained in:
Mikko Mononen 2011-09-04 12:38:05 +00:00
parent 6f5c9f9b82
commit 1076b27e0f

View File

@ -136,6 +136,7 @@ void dtFreeNavMeshQuery(dtNavMeshQuery* navmesh)
/// @see dtNavMesh, dtQueryFilter, #dtAllocNavMeshQuery(), #dtAllocNavMeshQuery()
dtNavMeshQuery::dtNavMeshQuery() :
m_nav(0),
m_tinyNodePool(0),
m_nodePool(0),
m_openList(0)