removed outdated suffextract_svn.exe and fixed StuffExtract

This commit is contained in:
Exosk 2009-07-16 15:44:37 +00:00
parent 7c885d2b50
commit e4502cbd95
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -531,7 +531,7 @@ bool ConvertDBC(void)
wmoNames.insert(NameAndAlt(value)); //this is a WMO
//Interestingly, some of the files referenced here have MDL extension - WTF?
std::string fn = _PathToFileName(value);
if(!stricmp(fn.c_str()+fn.length()-3, "mdx") or !stricmp(fn.c_str()+fn.length()-3, "mdl"))
if(!stricmp(fn.c_str()+fn.length()-3, "mdx") || !stricmp(fn.c_str()+fn.length()-3, "mdl"))
fn = fn.substr(0,fn.length()-3) + "m2";
else
logdebug("This should be a WMO: %s\n",fn.c_str());