Some smaller fixes to the vmapextractor courtesy of Lynx3d (not using corefunctions + update errormessages to use the new fileextensions)

--HG--
branch : trunk
This commit is contained in:
click committed 2010-06-19 21:35:32 +02:00
1 parent 0e4954df2e
commit 29d9e40f74
4 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -386,7 +386,7 @@ int WMOGroup::ConvertToVMAPGroupWmo(FILE *output, WMORoot *rootWMO, bool pPrecis
if (rootWMO->liquidType & 4)
liquidEntry = liquidType;
else if (liquidType == 15)
liquidEntry = 0;
liquidEntry = 1; // first entry, generic "Water"
else
liquidEntry = liquidType + 1;
// overwrite material type in header...