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/gui/popups/beingpopup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/popups/beingpopup.cpp') diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index 16a60150a..167767e74 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -107,7 +107,7 @@ void BeingPopup::show(const int x, const int y, Being *const b) { if (!b) { - setVisible(false); + setVisible(Visible_false); return; } @@ -123,7 +123,7 @@ void BeingPopup::show(const int x, const int y, Being *const b) if (b->getType() == ActorType::Npc && b->getComment().empty()) { - setVisible(false); + setVisible(Visible_false); return; } -- cgit v1.2.3-60-g2f50