Initialize all member variables of LuaEntitySAO
authorPerttu Ahola <celeron55@gmail.com>
Sun, 23 Dec 2012 15:16:46 +0000 (17:16 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 23 Dec 2012 15:16:46 +0000 (17:16 +0200)
src/content_sao.cpp

index 8916b492617462e9ca1129b885421355cd80c9a0..196c10e61e930058c0a37df95db54dd4a92d8634 100644 (file)
@@ -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