From af476c9595a4e8a20f1c2c402372822a8731f68f Mon Sep 17 00:00:00 2001 From: Shlainn Date: Fri, 25 Nov 2011 10:01:39 +0100 Subject: [PATCH] * Fix WMO Loader after recent changes --- src/Client/GUI/CWMOMeshFileLoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/GUI/CWMOMeshFileLoader.cpp b/src/Client/GUI/CWMOMeshFileLoader.cpp index d18baf7..efd81e9 100644 --- a/src/Client/GUI/CWMOMeshFileLoader.cpp +++ b/src/Client/GUI/CWMOMeshFileLoader.cpp @@ -137,7 +137,7 @@ DEBUG(logdev("Reading Chunk: %s size %u", (char*)fourcc,size)); for(u32 i =0;iseek(textureOffset+WMOMTexDefinition[i].startNameIndex); MeshFile->read((void*)tempTexName.c_str(),WMOMTexDefinition[i].endNameIndex-WMOMTexDefinition[i].startNameIndex); DEBUG(logdev("Texture %u: %s",i,tempTexName.c_str())); @@ -274,7 +274,7 @@ for(u32 i=0;icreateBuffer(); + scene::SSkinMeshBuffer *MeshBuffer = Mesh->createBuffer(0); //Put the Indices and Vertices of the Submesh into a mesh buffer for(u32 j=lastindex;j