diff options
author | Ilya Zhuravlev <whatever@xyz.is> | 2013-12-13 13:18:00 +0400 |
---|---|---|
committer | Ilya Zhuravlev <whatever@xyz.is> | 2013-12-13 13:18:00 +0400 |
commit | 67bf7130ce3f1780a432ae03eabdec3118ecab70 (patch) | |
tree | cfc35dd75c7799de939bce68cba3775248d9f38e | |
parent | d9ef072305b92b020ebe473765118cca0e23608a (diff) | |
download | minetest-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.cpp | 2 |
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); |