diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-28 00:55:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-28 00:55:13 +0300 |
commit | 01a0e4b658241cc3dbd8a5d11d34a6de48dab159 (patch) | |
tree | 37294c079b9a05768b7380f7595784eb73485769 /src/game.cpp | |
parent | 072b727ae4d072d6c84f3331d78ca5a2ac76d271 (diff) | |
download | manaverse-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.cpp | 4 |
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(); } |