Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.

This commit is contained in:
Ilya Zhuravlev 2013-12-13 13:18:00 +04:00
parent d9ef072305
commit 67bf7130ce

@ -1649,6 +1649,8 @@ public:
m_acceleration = readV3F1000(is); m_acceleration = readV3F1000(is);
if(fabs(m_prop.automatic_rotate) < 0.001) if(fabs(m_prop.automatic_rotate) < 0.001)
m_yaw = readF1000(is); m_yaw = readF1000(is);
else
readF1000(is);
bool do_interpolate = readU8(is); bool do_interpolate = readU8(is);
bool is_end_position = readU8(is); bool is_end_position = readU8(is);
float update_interval = readF1000(is); float update_interval = readF1000(is);