Tools/MeshExtractor:
* Added the capability of extracting DBCs. * Fixed most compile warnings * Some work on the navigation mesh generation process (still not ready)
This commit is contained in:
1 parent
fa57ecddac
commit
e32ddea96a
17 files changed
+264
-75
No files matched your search
@@ -31,7 +31,7 @@ void DoodadHandler::ProcessInternal( ChunkedData* subChunks )
|
||||
{
|
||||
int32 index;
|
||||
fread(&index, sizeof(int32), 1, stream);
|
||||
if (index < 0 || index >= _definitions->size())
|
||||
if (index < 0 || uint32(index) >= _definitions->size())
|
||||
continue;
|
||||
DoodadDefinition doodad = (*_definitions)[index];
|
||||
if (_drawn.find(doodad.UniqueId) != _drawn.end())
|
||||
|
||||
Reference in new issue
Block a user