From 01a0e4b658241cc3dbd8a5d11d34a6de48dab159 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 May 2015 00:55:13 +0300 Subject: Add strong typed bool type Visible. --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 3a47f0716..12706cdf1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -192,7 +192,7 @@ static void createGuiWindows() equipmentWindow->postInit(); beingEquipmentWindow = new EquipmentWindow(nullptr, nullptr, true); beingEquipmentWindow->postInit(); - beingEquipmentWindow->setVisible(false); + beingEquipmentWindow->setVisible(Visible_false); statusWindow = new StatusWindow; statusWindow->postInit(); miniStatusWindow = new MiniStatusWindow; @@ -225,7 +225,7 @@ static void createGuiWindows() } if (config.getBoolValue("showDidYouKnow")) { - didYouKnowWindow->setVisible(true); + didYouKnowWindow->setVisible(Visible_true); didYouKnowWindow->loadData(); } -- cgit v1.2.3-70-g09d2