forked from teamnwah/openmw-tes3coop
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
|
||||
{
|
||||
Player::Player (const ESM::NPC *player, const MWBase::World& world)
|
||||
Player::Player (const ESM::NPC *player)
|
||||
: mCellStore(0),
|
||||
mLastKnownExteriorPosition(0,0,0),
|
||||
mMarkedCell(NULL),
|
||||
|
|
|
@ -17,12 +17,6 @@ namespace ESM
|
|||
class ESMReader;
|
||||
}
|
||||
|
||||
namespace MWBase
|
||||
{
|
||||
class World;
|
||||
class Ptr;
|
||||
}
|
||||
|
||||
namespace Loading
|
||||
{
|
||||
class Listener;
|
||||
|
@ -58,7 +52,7 @@ namespace MWWorld
|
|||
|
||||
public:
|
||||
|
||||
Player(const ESM::NPC *player, const MWBase::World& world);
|
||||
Player(const ESM::NPC *player);
|
||||
|
||||
void saveSkillsAttributes();
|
||||
void restoreSkillsAttributes();
|
||||
|
|
|
@ -2045,7 +2045,7 @@ namespace MWWorld
|
|||
{
|
||||
const ESM::NPC *player = mStore.get<ESM::NPC>().find("player");
|
||||
if (!mPlayer)
|
||||
mPlayer = new MWWorld::Player(player, *this);
|
||||
mPlayer = new MWWorld::Player(player);
|
||||
else
|
||||
{
|
||||
// Remove the old CharacterController
|
||||
|
|
Loading…
Reference in a new issue