Initialize all member variables of LuaEntitySAO

master
Perttu Ahola 2012-12-23 17:16:46 +02:00
parent d880a5ec0c
commit 0f1d2c127c
1 changed files with 3 additions and 0 deletions

View 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