diff options
Diffstat (limited to 'src/client/content_cao.h')
-rw-r--r-- | src/client/content_cao.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 3a071101f..2c2d11077 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -156,6 +156,11 @@ public: const v3f getPosition() const; + void setPosition(const v3f &pos) + { + pos_translator.val_current = pos; + } + inline const v3f &getRotation() const { return m_rotation; } const bool isImmortal(); |