summaryrefslogtreecommitdiff
path: root/src/gui/popups/beingpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-18 00:00:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-18 00:00:46 +0300
commit129f749d057e3b96161630934da7b2d89dec3c71 (patch)
tree1a11c98aaf08a46d544e9b3acf3910a560546c8b /src/gui/popups/beingpopup.cpp
parent39ab9ebf7464f77f079a8edecd3f43870245b8ee (diff)
downloadplus-129f749d057e3b96161630934da7b2d89dec3c71.tar.gz
plus-129f749d057e3b96161630934da7b2d89dec3c71.tar.bz2
plus-129f749d057e3b96161630934da7b2d89dec3c71.tar.xz
plus-129f749d057e3b96161630934da7b2d89dec3c71.zip
Add eathena defines into being.
Diffstat (limited to 'src/gui/popups/beingpopup.cpp')
-rw-r--r--src/gui/popups/beingpopup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp
index f0a8868f4..0592189aa 100644
--- a/src/gui/popups/beingpopup.cpp
+++ b/src/gui/popups/beingpopup.cpp
@@ -251,6 +251,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
label3 = nullptr;
}
+#ifdef EATHENA_SUPPORT
if (!b->getBuyBoard().empty())
{
// TRANSLATORS: being popup label
@@ -259,6 +260,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
label4->adjustSize();
}
else
+#endif
{
label7 = label6;
label6 = label5;
@@ -266,6 +268,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
label4 = nullptr;
}
+#ifdef EATHENA_SUPPORT
if (!b->getSellBoard().empty())
{
// TRANSLATORS: being popup label
@@ -274,6 +277,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
label5->adjustSize();
}
else
+#endif
{
label7 = label6;
label6 = label5;