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:
1 parent
eba6980b9a
commit
9b97a89ef8
5 files changed
+75
-25
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user