From a7652bcb0c9fe7991282bf2824b1d8e9345220d7 Mon Sep 17 00:00:00 2001 From: Jason Hooks Date: Wed, 9 Nov 2011 13:53:29 -0500 Subject: [PATCH] Yacoby's changes on Objects --- apps/openmw/mwrender/objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/objects.cpp b/apps/openmw/mwrender/objects.cpp index b9147d75d..57e6c6501 100644 --- a/apps/openmw/mwrender/objects.cpp +++ b/apps/openmw/mwrender/objects.cpp @@ -40,7 +40,7 @@ void Objects::insertBegin (const MWWorld::Ptr& ptr, bool enabled, bool static_){ Ogre::SceneNode* insert = cellnode->createChildSceneNode(); - const float *f = ptr.getCellRef().pos.pos; + const float *f = ptr.getRefData().getPosition().pos; insert->setPosition(f[0], f[1], f[2]); insert->setScale(ptr.getCellRef().scale, ptr.getCellRef().scale, ptr.getCellRef().scale);