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:
d880a5e
)
Initialize all member variables of LuaEntitySAO
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 23 Dec 2012 15:16:46 +0000
(17:16 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 23 Dec 2012 15:16:46 +0000
(17:16 +0200)
src/content_sao.cpp
patch
|
blob
|
history
diff --git
a/src/content_sao.cpp
b/src/content_sao.cpp
index 8916b492617462e9ca1129b885421355cd80c9a0..196c10e61e930058c0a37df95db54dd4a92d8634 100644
(file)
--- a/
src/content_sao.cpp
+++ b/
src/content_sao.cpp
@@
-356,8
+356,11
@@
LuaEntitySAO::LuaEntitySAO(ServerEnvironment *env, v3f pos,
m_last_sent_position_timer(0),
m_last_sent_move_precision(0),
m_armor_groups_sent(false),
+ m_animation_speed(0),
+ m_animation_blend(0),
m_animation_sent(false),
m_bone_position_sent(false),
+ m_attachment_parent_id(0),
m_attachment_sent(false)
{
// Only register type if no environment supplied