forked from mirror/openmw-tes3mp
Yacoby's changes on Objects
This commit is contained in:
parent
c25b49d2b6
commit
a7652bcb0c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue