From 0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 23 Dec 2012 17:16:46 +0200 Subject: [PATCH] Initialize all member variables of LuaEntitySAO --- src/content_sao.cpp | 3 +++ 1 file changed, 3 insertions(+) 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