1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-12 16:58:39 +00:00

Fix various memory access problems detected by valgrind

This commit is contained in:
Kahrl 2013-08-07 19:48:31 +02:00
parent 218f82f798
commit 2ed3067bbe
4 changed files with 9 additions and 1 deletions

View file

@ -943,8 +943,11 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, Player *player_, u16 peer_id_,
m_properties_sent(true),
m_privs(privs),
m_is_singleplayer(is_singleplayer),
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),
// public
m_moved(false),