diff --git a/apps/openmw/mwworld/scene.cpp b/apps/openmw/mwworld/scene.cpp index 631253bd43..47b62862f7 100644 --- a/apps/openmw/mwworld/scene.cpp +++ b/apps/openmw/mwworld/scene.cpp @@ -253,7 +253,7 @@ namespace bool operator() (const MWWorld::Ptr& ptr) { if (!ptr.getRefData().isDeleted() && ptr.getRefData().isEnabled()) - ptr.getClass().adjustPosition (ptr, true); + ptr.getClass().adjustPosition (ptr, false); return true; } }; diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index c24597b842..f59c92c6a6 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -1344,12 +1344,8 @@ namespace MWWorld } moveObject(ptr, ptr.getCell(), pos.x(), pos.y(), pos.z()); - if (force) // force physics to use the new position - { - auto actor = mPhysics->getActor(ptr); - if(actor) - actor->resetPosition(); - } + if (ptr.getClass().isActor()) + mPhysics->getActor(ptr)->resetPosition(); } void World::fixPosition()