1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 20:49:56 +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;
};