Skip to content

Commit 67bf713

Browse files
committed
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
1 parent d9ef072 commit 67bf713

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content_cao.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,8 @@ class GenericCAO : public ClientActiveObject
16491649
m_acceleration = readV3F1000(is);
16501650
if(fabs(m_prop.automatic_rotate) < 0.001)
16511651
m_yaw = readF1000(is);
1652+
else
1653+
readF1000(is);
16521654
bool do_interpolate = readU8(is);
16531655
bool is_end_position = readU8(is);
16541656
float update_interval = readF1000(is);

0 commit comments

Comments
 (0)