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:
parent
9807e7dadc
commit
ef7a06dea5
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue