diff --git a/source/Irrlicht/CMS3DMeshFileLoader.cpp b/source/Irrlicht/CMS3DMeshFileLoader.cpp index c314d142..97a2626f 100644 --- a/source/Irrlicht/CMS3DMeshFileLoader.cpp +++ b/source/Irrlicht/CMS3DMeshFileLoader.cpp @@ -341,12 +341,7 @@ bool CMS3DMeshFileLoader::load(io::IReadFile* file) if (framesPerSecond==0) framesPerSecond=1; - s32 frameCount = *(s32*)pPtr; -#ifdef __BIG_ENDIAN__ - frameCount = os::Byteswap::byteswap(frameCount); -#endif - pPtr += sizeof(s32); - + pPtr += sizeof(s32); // frameCount u16 jointCount = *(u16*)pPtr; #ifdef __BIG_ENDIAN__ diff --git a/source/Irrlicht/CShadowVolumeSceneNode.cpp b/source/Irrlicht/CShadowVolumeSceneNode.cpp index 4fb679ed..ad34ffa9 100644 --- a/source/Irrlicht/CShadowVolumeSceneNode.cpp +++ b/source/Irrlicht/CShadowVolumeSceneNode.cpp @@ -106,7 +106,6 @@ void CShadowVolumeSceneNode::createShadowVolume(const core::vector3df& light) // is used createZPassVolume(faceCount, numEdges, light, svp, UseZFailMethod); - for (s32 i=0; i& CShadowVolumeSceneNode::getBoundingBox() const {