forked from mirror/openmw-tes3mp
added MechanicsManager::update function (doesn't update anything yet)
This commit is contained in:
parent
fef6fc1340
commit
0383ad550a
3 changed files with 11 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -62,5 +62,10 @@ namespace MWMechanics
|
|||
else
|
||||
++iter;
|
||||
}
|
||||
|
||||
void MechanicsManager::update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue