Change another dynamic_cast to static_cast (coverity)

pull/445/head
scrawl 10 years ago
parent cef72385d4
commit edbac30a57

@ -70,7 +70,7 @@ void animateCollisionShapes (std::map<OEngine::Physic::RigidBody*, OEngine::Phys
if (bone == NULL)
continue;
btCompoundShape* compound = dynamic_cast<btCompoundShape*>(instance.mCompound);
btCompoundShape* compound = static_cast<btCompoundShape*>(instance.mCompound);
btTransform trans;
trans.setOrigin(BtOgre::Convert::toBullet(bone->_getDerivedPosition()) * compound->getLocalScaling());

Loading…
Cancel
Save