summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index 53336c7b9..3231a190f 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -410,13 +410,16 @@ public:
core::aabbox3d<f32>* getSelectionBox()
{return &m_selection_box;}
v3f getPosition()
- {return m_position;}
+ {return pos_translator.vect_show;}
private:
core::aabbox3d<f32> m_selection_box;
- scene::IMeshSceneNode *m_node;
+ scene::IMeshSceneNode *m_meshnode;
+ scene::MyBillboardSceneNode *m_spritenode;
v3f m_position;
+ float m_yaw;
struct LuaEntityProperties *m_prop;
+ SmoothTranslator pos_translator;
};