From 740e22d3132c8240a106a9573215ee96fa70af5f Mon Sep 17 00:00:00 2001 From: alil Date: Wed, 29 Oct 2008 22:19:14 +0000 Subject: [PATCH] removed bad be code in validate header git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@204 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/MDRLoader.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/code/MDRLoader.cpp b/code/MDRLoader.cpp index d4bb13afb..a84217d02 100644 --- a/code/MDRLoader.cpp +++ b/code/MDRLoader.cpp @@ -80,15 +80,6 @@ bool MDRImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler) const // Validate the header of the given MDR file void MDRImporter::ValidateHeader() { - AI_SWAP4(pcLOD->version); - AI_SWAP4(pcLOD->numBones); - AI_SWAP4(pcLOD->numTags); - AI_SWAP4(pcLOD->numFrames); - AI_SWAP4(pcLOD->ofsFrames); - AI_SWAP4(pcLOD->ofsTags); - AI_SWAP4(pcLOD->numLODs); - AI_SWAP4(pcLOD->ofsLODs); - if (pcHeader->ident != AI_MDR_MAGIC_NUMBER_BE && pcHeader->ident != AI_MDR_MAGIC_NUMBER_LE) {