mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 05:45:31 +00:00
player was not registered at mwscene (for physics)
This commit is contained in:
parent
9807e7dadc
commit
ef7a06dea5
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ namespace MWWorld
|
||||||
mStore.load (mEsm);
|
mStore.load (mEsm);
|
||||||
|
|
||||||
mPlayer = new MWWorld::Player (mScene.getPlayer(), mStore.npcs.find ("player"), *this);
|
mPlayer = new MWWorld::Player (mScene.getPlayer(), mStore.npcs.find ("player"), *this);
|
||||||
|
mScene.addActor (mPlayer->getPlayer().getRefData().getHandle(), "", Ogre::Vector3 (0, 0, 0));
|
||||||
|
|
||||||
// global variables
|
// global variables
|
||||||
mGlobalVariables = new Globals (mStore);
|
mGlobalVariables = new Globals (mStore);
|
||||||
|
|
Loading…
Reference in a new issue