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
1 changed files with 2 additions and 0 deletions

View 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);