mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
crash bug fix
This commit is contained in:
parent
65232008a5
commit
3cd1088695
@ -443,6 +443,8 @@ namespace MWClass
|
|||||||
{
|
{
|
||||||
boost::shared_ptr<MWMechanics::Movement> movement (
|
boost::shared_ptr<MWMechanics::Movement> movement (
|
||||||
new MWMechanics::Movement);
|
new MWMechanics::Movement);
|
||||||
|
|
||||||
|
ptr.getRefData().getMovement() = movement;
|
||||||
}
|
}
|
||||||
|
|
||||||
return *ptr.getRefData().getMovement();
|
return *ptr.getRefData().getMovement();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user