Initialise dtTileCache::m_reqs on construction
This commit is contained in:
parent
58bd564438
commit
3a0140c2ac
@ -77,6 +77,7 @@ dtTileCache::dtTileCache() :
|
|||||||
m_nupdate(0)
|
m_nupdate(0)
|
||||||
{
|
{
|
||||||
memset(&m_params, 0, sizeof(m_params));
|
memset(&m_params, 0, sizeof(m_params));
|
||||||
|
memset(m_reqs, 0, sizeof(ObstacleRequest) * MAX_REQUESTS);
|
||||||
}
|
}
|
||||||
|
|
||||||
dtTileCache::~dtTileCache()
|
dtTileCache::~dtTileCache()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user