aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2014-10-07 17:01:07 +1000
committerKahrl <kahrl@gmx.net>2014-10-19 15:33:08 +0200
commit076c5ee2234c7f217f8941bbbd710d317485ccbc (patch)
treed59d05cf111a7fb79960878a9d51864ea6ff5b97 /src/client.cpp
parentfe8ef1be59399a327d9df50a0ab823bb2731de79 (diff)
downloadminetest-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.cpp1
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),