From 3cd1088695516cbef02d9502a2f1e7ace7138ec9 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 3 Feb 2011 12:16:20 +0100 Subject: [PATCH] crash bug fix --- apps/openmw/mwclass/npc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwclass/npc.cpp b/apps/openmw/mwclass/npc.cpp index d702137572..9b34edf774 100644 --- a/apps/openmw/mwclass/npc.cpp +++ b/apps/openmw/mwclass/npc.cpp @@ -443,6 +443,8 @@ namespace MWClass { boost::shared_ptr movement ( new MWMechanics::Movement); + + ptr.getRefData().getMovement() = movement; } return *ptr.getRefData().getMovement();