diff options
author | Craig Robbins <kde.psych@gmail.com> | 2014-10-07 17:01:07 +1000 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2014-10-19 15:33:08 +0200 |
commit | 076c5ee2234c7f217f8941bbbd710d317485ccbc (patch) | |
tree | d59d05cf111a7fb79960878a9d51864ea6ff5b97 /src/client.cpp | |
parent | fe8ef1be59399a327d9df50a0ab823bb2731de79 (diff) | |
download | minetest-076c5ee2234c7f217f8941bbbd710d317485ccbc.tar.gz minetest-076c5ee2234c7f217f8941bbbd710d317485ccbc.tar.bz2 minetest-076c5ee2234c7f217f8941bbbd710d317485ccbc.zip |
Various uninitialised variable fixes
sky.cpp: m_bgcolor.getAlpha() was being used before initialised
mesh related: m_highlight_mesh_color was being used uninitialised
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 0bc2e66a5..7e74cf36b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -250,6 +250,7 @@ Client::Client( m_inventory_updated(false), m_inventory_from_server(NULL), m_inventory_from_server_age(0.0), + m_show_hud(true), m_animation_time(0), m_crack_level(-1), m_crack_pos(0,0,0), |