1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 21:40:11 +00:00

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:
float mDuration;
const MWWorld::Ptr& mDoorPtr;
MWWorld::Ptr mDoorPtr;
ESM::Position mLastPos;
float mAdjAngle;
};