diff options
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(); |