Minor cleanup

This commit is contained in:
scrawl 2015-07-02 18:11:24 +02:00
parent dafb1b5fa9
commit 519fb9482a
3 changed files with 3 additions and 9 deletions

View file

@ -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),

View file

@ -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();

View file

@ -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