aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Zhuravlev <whatever@xyz.is>2013-12-13 13:18:00 +0400
committerIlya Zhuravlev <whatever@xyz.is>2013-12-13 13:18:00 +0400
commit67bf7130ce3f1780a432ae03eabdec3118ecab70 (patch)
treecfc35dd75c7799de939bce68cba3775248d9f38e
parentd9ef072305b92b020ebe473765118cca0e23608a (diff)
downloadminetest-67bf7130ce3f1780a432ae03eabdec3118ecab70.tar.gz
minetest-67bf7130ce3f1780a432ae03eabdec3118ecab70.tar.bz2
minetest-67bf7130ce3f1780a432ae03eabdec3118ecab70.zip
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
-rw-r--r--src/content_cao.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp
index ec8cde35b..640ab6c73 100644
--- a/src/content_cao.cpp
+++ b/src/content_cao.cpp
@@ -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);