forked from teamnwah/openmw-tes3coop
Changed: world: cleanup
This commit is contained in:
parent
5c1b3fc043
commit
3e5b396b56
1 changed files with 1 additions and 4 deletions
|
@ -189,11 +189,8 @@ namespace MWWorld
|
||||||
mPlayer = new MWWorld::Player (mStore.npcs.find ("player"), *this);
|
mPlayer = new MWWorld::Player (mStore.npcs.find ("player"), *this);
|
||||||
mRendering->attachCameraTo(mPlayer->getPlayer());
|
mRendering->attachCameraTo(mPlayer->getPlayer());
|
||||||
|
|
||||||
std::string playerCollisionFile = "meshes\\base_anim.nif"; //This is used to make a collision shape for our player
|
|
||||||
//We will need to support the 1st person file too in the future
|
|
||||||
mPhysics->addActor(mPlayer->getPlayer());
|
mPhysics->addActor(mPlayer->getPlayer());
|
||||||
// mPhysics->addActor (mPlayer->getPlayer().getRefData().getHandle(), playerCollisionFile, Ogre::Vector3 (0, 0, 0), 1, Ogre::Quaternion::ZERO);
|
|
||||||
|
|
||||||
// global variables
|
// global variables
|
||||||
mGlobalVariables = new Globals (mStore);
|
mGlobalVariables = new Globals (mStore);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue