Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
authorIlya Zhuravlev <whatever@xyz.is>
Fri, 13 Dec 2013 09:18:00 +0000 (13:18 +0400)
committerIlya Zhuravlev <whatever@xyz.is>
Fri, 13 Dec 2013 09:18:00 +0000 (13:18 +0400)
src/content_cao.cpp

index ec8cde35be1215cb56a75214e01703cba15e98d4..640ab6c7302ae9162785299c5936a553297356d7 100644 (file)
@@ -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);