From: Perttu Ahola Date: Sun, 23 Dec 2012 15:16:46 +0000 (+0200) Subject: Initialize all member variables of LuaEntitySAO X-Git-Tag: 0.4.5~131 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0f1d2c127cd58aa9b1afa22769dcdaf8f71d05e6;p=oweals%2Fminetest.git Initialize all member variables of LuaEntitySAO --- 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