summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/gameui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp
index 142d30922..7e0a7ef67 100644
--- a/src/client/gameui.cpp
+++ b/src/client/gameui.cpp
@@ -188,7 +188,7 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_
void GameUI::initFlags()
{
- memset(&m_flags, 0, sizeof(GameUI::Flags));
+ m_flags = GameUI::Flags();
m_flags.show_chat = true;
m_flags.show_hud = true;
m_flags.show_debug = g_settings->getBool("show_debug");