Tools/Extractors: Fixed possible name issues (underscore instead of space) when attempting to extract M2 models from MPQ
This commit is contained in:
1 parent
36c866f9ff
commit
50e7b93bbd
8 files changed
+90
-101
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user