summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-12 13:59:56 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:39 +0200
commit38944467d31bbfa8a98008962f147cbc3c73f507 (patch)
treedc634dbc194a0742480d64c42231485f6b9e04e0 /src/content_sao.h
parent23adfff4fea9c1ad49e7bc4cd08341c2e1fded78 (diff)
downloadminetest-38944467d31bbfa8a98008962f147cbc3c73f507.tar.gz
minetest-38944467d31bbfa8a98008962f147cbc3c73f507.tar.bz2
minetest-38944467d31bbfa8a98008962f147cbc3c73f507.zip
Scripting WIP
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