Fix a wrong use of reference that causes potential crash

This commit is contained in:
scrawl 2014-05-15 01:53:52 +02:00
parent 471bbd0021
commit 37b9d2fb0c

View file

@ -29,7 +29,7 @@ namespace MWMechanics
private: private:
float mDuration; float mDuration;
const MWWorld::Ptr& mDoorPtr; MWWorld::Ptr mDoorPtr;
ESM::Position mLastPos; ESM::Position mLastPos;
float mAdjAngle; float mAdjAngle;
}; };