From 65232008a57d750053c19b9c3366a3b4b88fc4cd Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 3 Feb 2011 11:47:42 +0100 Subject: [PATCH] fixed a crash bug in NPC rendering --- apps/openmw/mwclass/npc.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/openmw/mwclass/npc.cpp b/apps/openmw/mwclass/npc.cpp index 82306ab2ca..d702137572 100644 --- a/apps/openmw/mwclass/npc.cpp +++ b/apps/openmw/mwclass/npc.cpp @@ -256,8 +256,6 @@ namespace MWClass cellRender.insertMesh (headModel, Ogre::Vector3( 0, 0, 5), axis, Ogre::Radian(0), npcName + "head", neckandup, neckNumbers); neckandup[neckNumbers++] = npcName + "head"; cellRender.insertMesh (hairModel, Ogre::Vector3( 0, -1, 0), axis, Ogre::Radian(0), npcName + "hair", neckandup, neckNumbers); - ref->mData.setHandle (rendering.end (ref->mData.isEnabled())); - cellRender.insertActorPhysics(); ref->mData.setHandle (rendering.end (ref->mData.isEnabled()));