Init missing variables

pull/541/head
Andrei Kortunov 6 years ago
parent dc6ef15571
commit 229bd8505e

@ -84,6 +84,8 @@ namespace ESSImport
mGlobalMapState.mBounds.mMaxX = 0;
mGlobalMapState.mBounds.mMinY = 0;
mGlobalMapState.mBounds.mMaxY = 0;
mPlayerBase.blank();
}
int generateActorId()

@ -12,7 +12,7 @@
#include "steering.hpp"
MWMechanics::AiAvoidDoor::AiAvoidDoor(const MWWorld::ConstPtr& doorPtr)
: AiPackage(), mDuration(1), mDoorPtr(doorPtr), mAdjAngle(0)
: AiPackage(), mDuration(1), mDoorPtr(doorPtr), mLastPos(ESM::Position()), mAdjAngle(0)
{
}

@ -30,6 +30,7 @@ namespace MWWorld
Player::Player (const ESM::NPC *player)
: mCellStore(0),
mLastKnownExteriorPosition(0,0,0),
mMarkedPosition(ESM::Position()),
mMarkedCell(nullptr),
mAutoMove(false),
mForwardBackward(0),

Loading…
Cancel
Save