forked from mirror/openmw-tes3mp
Minor cleanup
This commit is contained in:
parent
dafb1b5fa9
commit
519fb9482a
3 changed files with 3 additions and 9 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
namespace MWWorld
|
namespace MWWorld
|
||||||
{
|
{
|
||||||
Player::Player (const ESM::NPC *player, const MWBase::World& world)
|
Player::Player (const ESM::NPC *player)
|
||||||
: mCellStore(0),
|
: mCellStore(0),
|
||||||
mLastKnownExteriorPosition(0,0,0),
|
mLastKnownExteriorPosition(0,0,0),
|
||||||
mMarkedCell(NULL),
|
mMarkedCell(NULL),
|
||||||
|
|
|
@ -17,12 +17,6 @@ namespace ESM
|
||||||
class ESMReader;
|
class ESMReader;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace MWBase
|
|
||||||
{
|
|
||||||
class World;
|
|
||||||
class Ptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace Loading
|
namespace Loading
|
||||||
{
|
{
|
||||||
class Listener;
|
class Listener;
|
||||||
|
@ -58,7 +52,7 @@ namespace MWWorld
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Player(const ESM::NPC *player, const MWBase::World& world);
|
Player(const ESM::NPC *player);
|
||||||
|
|
||||||
void saveSkillsAttributes();
|
void saveSkillsAttributes();
|
||||||
void restoreSkillsAttributes();
|
void restoreSkillsAttributes();
|
||||||
|
|
|
@ -2045,7 +2045,7 @@ namespace MWWorld
|
||||||
{
|
{
|
||||||
const ESM::NPC *player = mStore.get<ESM::NPC>().find("player");
|
const ESM::NPC *player = mStore.get<ESM::NPC>().find("player");
|
||||||
if (!mPlayer)
|
if (!mPlayer)
|
||||||
mPlayer = new MWWorld::Player(player, *this);
|
mPlayer = new MWWorld::Player(player);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Remove the old CharacterController
|
// Remove the old CharacterController
|
||||||
|
|
Loading…
Reference in a new issue