diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index d515fcac17..93dd4c8b62 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -64,6 +64,9 @@ bool OMW::Engine::frameStarted(const Ogre::FrameEvent& evt) if (changed) // keep change flag for another frame, if cell changed happend in local script mEnvironment.mWorld->markCellAsUnchanged(); + + // update actors + mEnvironment.mMechanicsManager->update(); return true; } diff --git a/apps/openmw/mwmechanics/mechanicsmanager.cpp b/apps/openmw/mwmechanics/mechanicsmanager.cpp index ad40d2e0c8..96f82c2876 100644 --- a/apps/openmw/mwmechanics/mechanicsmanager.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanager.cpp @@ -62,5 +62,10 @@ namespace MWMechanics else ++iter; } + + void MechanicsManager::update() + { + + } } diff --git a/apps/openmw/mwmechanics/mechanicsmanager.hpp b/apps/openmw/mwmechanics/mechanicsmanager.hpp index e0c44b93ef..af01a2e2e7 100644 --- a/apps/openmw/mwmechanics/mechanicsmanager.hpp +++ b/apps/openmw/mwmechanics/mechanicsmanager.hpp @@ -37,6 +37,9 @@ namespace MWMechanics void dropActors (const MWWorld::Ptr::CellStore *cellStore); ///< Deregister all actors in the given cell. + + void update(); + ///< Update actor stats }; }