summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-28 00:55:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-28 00:55:13 +0300
commit01a0e4b658241cc3dbd8a5d11d34a6de48dab159 (patch)
tree37294c079b9a05768b7380f7595784eb73485769 /src/game.cpp
parent072b727ae4d072d6c84f3331d78ca5a2ac76d271 (diff)
downloadmanaverse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.gz
manaverse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.bz2
manaverse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.tar.xz
manaverse-01a0e4b658241cc3dbd8a5d11d34a6de48dab159.zip
Add strong typed bool type Visible.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
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();
}