aboutsummaryrefslogtreecommitdiff
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, 3 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index 103b4cc8e..1d7239232 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -52,6 +52,8 @@ public:
InventoryItem* createInventoryItem();
InventoryItem* createPickedUpItem(){return createInventoryItem();}
void rightClick(Player *player);
+
+ float getMinimumSavedMovement(){ return 0.1*BS; }
private:
std::string m_inventorystring;
v3f m_speed_f;
@@ -218,6 +220,7 @@ public:
void setPos(v3f pos);
void moveTo(v3f pos, bool continuous);
+ float getMinimumSavedMovement();
private:
void sendPosition(bool do_interpolate, bool is_movement_end);