mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 15:12:23 +01:00
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
This commit is contained in:
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user