mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-25 15:41:37 +00:00
Change another dynamic_cast to static_cast (coverity)
This commit is contained in:
parent
cef72385d4
commit
edbac30a57
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void animateCollisionShapes (std::map<OEngine::Physic::RigidBody*, OEngine::Phys
|
||||||
if (bone == NULL)
|
if (bone == NULL)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
btCompoundShape* compound = dynamic_cast<btCompoundShape*>(instance.mCompound);
|
btCompoundShape* compound = static_cast<btCompoundShape*>(instance.mCompound);
|
||||||
|
|
||||||
btTransform trans;
|
btTransform trans;
|
||||||
trans.setOrigin(BtOgre::Convert::toBullet(bone->_getDerivedPosition()) * compound->getLocalScaling());
|
trans.setOrigin(BtOgre::Convert::toBullet(bone->_getDerivedPosition()) * compound->getLocalScaling());
|
||||||
|
|
Loading…
Reference in a new issue