1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 17:45:32 +00:00

Init missing variables

This commit is contained in:
Andrei Kortunov 2019-02-17 11:56:24 +04:00
parent dc6ef15571
commit 229bd8505e
3 changed files with 4 additions and 1 deletions

View file

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

View file

@ -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)
{
}

View file

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