summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index 2316aba8d..103b4cc8e 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -217,7 +217,7 @@ public:
void rightClick(Player *player);
void setPos(v3f pos);
- void moveTo(v3f pos);
+ void moveTo(v3f pos, bool continuous);
private:
void sendPosition(bool do_interpolate, bool is_movement_end);
@@ -230,6 +230,7 @@ private:
float m_last_sent_yaw;
v3f m_last_sent_position;
float m_last_sent_position_timer;
+ float m_last_sent_move_precision;
};
#endif