diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-12 13:59:56 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:39 +0200 |
commit | 38944467d31bbfa8a98008962f147cbc3c73f507 (patch) | |
tree | dc634dbc194a0742480d64c42231485f6b9e04e0 /src/content_sao.h | |
parent | 23adfff4fea9c1ad49e7bc4cd08341c2e1fded78 (diff) | |
download | minetest-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.h | 3 |
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 |