diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-12 13:14:44 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:39 +0200 |
commit | 23adfff4fea9c1ad49e7bc4cd08341c2e1fded78 (patch) | |
tree | 7401d4ad3e91e4949b4a55b454eb573b63e6d33c /src/content_cao.cpp | |
parent | b35adfbd2dd434d0b75b91b0b4784ef5cdef2ae0 (diff) | |
download | minetest-23adfff4fea9c1ad49e7bc4cd08341c2e1fded78.tar.gz minetest-23adfff4fea9c1ad49e7bc4cd08341c2e1fded78.tar.bz2 minetest-23adfff4fea9c1ad49e7bc4cd08341c2e1fded78.zip |
Scripting WIP
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r-- | src/content_cao.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp index 28c2787e1..0db9803cc 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -1366,9 +1366,11 @@ void LuaEntityCAO::processMessage(const std::string &data) m_position = readV3F1000(is); // yaw m_yaw = readF1000(is); + // is_end_position (for interpolation) + bool is_end_position = readU8(is); if(do_interpolate) - pos_translator.update(m_position); + pos_translator.update(m_position, is_end_position); else pos_translator.init(m_position); updateNodePos(); |