removed bad be code in validate header

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@204 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
alil 2008-10-29 22:19:14 +00:00
parent 730b77c68e
commit 740e22d313
1 changed files with 0 additions and 9 deletions

View File

@ -80,15 +80,6 @@ bool MDRImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler) const
// Validate the header of the given MDR file // Validate the header of the given MDR file
void MDRImporter::ValidateHeader() 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 && if (pcHeader->ident != AI_MDR_MAGIC_NUMBER_BE &&
pcHeader->ident != AI_MDR_MAGIC_NUMBER_LE) pcHeader->ident != AI_MDR_MAGIC_NUMBER_LE)
{ {