From 67bf7130ce3f1780a432ae03eabdec3118ecab70 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Fri, 13 Dec 2013 13:18:00 +0400 Subject: [PATCH] Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing. --- src/content_cao.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content_cao.cpp b/src/content_cao.cpp index ec8cde35b..640ab6c73 100644 --- a/src/content_cao.cpp +++ b/src/content_cao.cpp @@ -1649,6 +1649,8 @@ public: m_acceleration = readV3F1000(is); if(fabs(m_prop.automatic_rotate) < 0.001) m_yaw = readF1000(is); + else + readF1000(is); bool do_interpolate = readU8(is); bool is_end_position = readU8(is); float update_interval = readF1000(is);