mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-16 07:49:05 -04:00
Fix a wrong use of reference that causes potential crash
This commit is contained in:
parent
471bbd0021
commit
37b9d2fb0c
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user