mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-24 17:39:42 +00:00
fix
This commit is contained in:
parent
ecf99f3309
commit
37e6db69d8
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ namespace MWWorld
|
||||||
return Vector2(0, 1);
|
return Vector2(0, 1);
|
||||||
}
|
}
|
||||||
Ogre::SceneNode* node = ref->mData.getBaseNode();
|
Ogre::SceneNode* node = ref->mData.getBaseNode();
|
||||||
Vector3 dir = -node->_getDerivedOrientation().zAxis();
|
Vector3 dir = node->_getDerivedOrientation().yAxis();
|
||||||
Vector2 d = Vector2(dir.x, dir.z);
|
Vector2 d = Vector2(dir.x, dir.z);
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue