1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 02:45:32 +00:00

player was not registered at mwscene (for physics)

This commit is contained in:
Marc Zinnschlag 2011-02-11 09:51:11 +01:00
parent 9807e7dadc
commit ef7a06dea5

View file

@ -423,6 +423,7 @@ namespace MWWorld
mStore.load (mEsm);
mPlayer = new MWWorld::Player (mScene.getPlayer(), mStore.npcs.find ("player"), *this);
mScene.addActor (mPlayer->getPlayer().getRefData().getHandle(), "", Ogre::Vector3 (0, 0, 0));
// global variables
mGlobalVariables = new Globals (mStore);