Tools/Extractors: Fixed possible name issues (underscore instead of space) when attempting to extract M2 models from MPQ

This commit is contained in:
Shauren committed 2013-06-27 19:31:38 +02:00
1 parent 36c866f9ff
commit 50e7b93bbd
8 files changed
+90 -101

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ bool Model::open()
_unload();
memcpy(&header, f.getBuffer(), sizeof(ModelHeader));
if(header.nBoundingTriangles > 0)
if (header.nBoundingTriangles > 0)
{
f.seek(0);
f.seekRelative(header.ofsBoundingVertices);