From: Perttu Ahola Date: Sun, 23 Dec 2012 15:16:46 +0000 (+0200) Subject: Initialize all member variables of LuaEntitySAO X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6;p=zefram%2Fminetest%2Fminetest_engine.git Initialize all member variables of LuaEntitySAO --- diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 8916b492..196c10e6 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