Tools/MeshExtractor: Fixed a crash and some other mistakes.

First glances of multithreading ( need to figure out a way around StormLib )
This commit is contained in:
Subv committed 2012-09-28 17:09:44 -05:00
1 parent eba6980b9a
commit 9b97a89ef8
5 files changed
+75 -25

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ MapChunk::MapChunk( ADT* _adt, Chunk* chunk ) : Adt(_adt), Source(chunk)
FILE* stream = chunk->GetStream();
Header.Read(stream);
fseek(stream, chunk->Offset, SEEK_SET);
Index = Header.IndexX + Header.IndexY * 16;
GenerateVertices(stream);
}