projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9ef072
)
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
author
Ilya Zhuravlev
<whatever@xyz.is>
Fri, 13 Dec 2013 09:18:00 +0000
(13:18 +0400)
committer
Ilya Zhuravlev
<whatever@xyz.is>
Fri, 13 Dec 2013 09:18:00 +0000
(13:18 +0400)
src/content_cao.cpp
patch
|
blob
|
history
diff --git
a/src/content_cao.cpp
b/src/content_cao.cpp
index ec8cde35be1215cb56a75214e01703cba15e98d4..640ab6c7302ae9162785299c5936a553297356d7 100644
(file)
--- 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);