mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:09:41 +00:00
crash bug fix
This commit is contained in:
parent
65232008a5
commit
3cd1088695
1 changed files with 2 additions and 0 deletions
|
@ -443,6 +443,8 @@ namespace MWClass
|
|||
{
|
||||
boost::shared_ptr<MWMechanics::Movement> movement (
|
||||
new MWMechanics::Movement);
|
||||
|
||||
ptr.getRefData().getMovement() = movement;
|
||||
}
|
||||
|
||||
return *ptr.getRefData().getMovement();
|
||||
|
|
Loading…
Reference in a new issue