crash bug fix

This commit is contained in:
Marc Zinnschlag 2011-02-03 12:16:20 +01:00
parent 65232008a5
commit 3cd1088695

View file

@ -443,6 +443,8 @@ namespace MWClass
{
boost::shared_ptr<MWMechanics::Movement> movement (
new MWMechanics::Movement);
ptr.getRefData().getMovement() = movement;
}
return *ptr.getRefData().getMovement();