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:
Subv committed 2012-10-03 18:02:18 -05:00
1 parent fa57ecddac
commit e32ddea96a
17 files changed
+264 -75

No files matched your search

+1 -1
View File
@@ -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())