aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-12-23 17:16:46 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-12-23 17:16:46 +0200
commit0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6 (patch)
tree6489ccc42e278046be10443b16aebbcb83a7aaf2 /src
parentd880a5ec0cf1b2c6f5dfad9890987b8ec6c9d204 (diff)
downloadminetest-0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6.tar.gz
minetest-0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6.tar.bz2
minetest-0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6.zip
Initialize all member variables of LuaEntitySAO
Diffstat (limited to 'src')
-rw-r--r--src/content_sao.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp
index 8916b4926..196c10e61 100644
--- 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