From: Ilya Zhuravlev Date: Fri, 13 Dec 2013 09:18:00 +0000 (+0400) Subject: Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing. X-Git-Tag: 0.4.9~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=67bf7130ce3f1780a432ae03eabdec3118ecab70;p=oweals%2Fminetest.git Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing. --- 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);