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
@@ -83,7 +83,7 @@ bool WDTFile::init(char* /*map_id*/, unsigned int mapID)
while (p < buf + size)
{
char* s=wdtGetPlainName(p);
fixnamen(s,strlen(s));
FixNameCase(s,strlen(s));
p=p+strlen(p)+1;
gWmoInstansName[q++] = s;
}