senoutouya / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

dtNavMesh::init doesn't return correct dtStatus #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Really minor:

dtStatus dtNavMesh::init(unsigned char* data, const int dataSize, const int 
flags)

only returns generic DT_FAILURE for wrong magic/version.

Original issue reported on code.google.com by caytc...@gmail.com on 14 Nov 2010 at 9:33

GoogleCodeExporter commented 9 years ago
Fixed in R254. Also changed the other init() method to return out of memory 
failure codes.

Original comment by memono...@gmail.com on 21 Nov 2010 at 3:00