summaryrefslogtreecommitdiff
path: root/src/gui/popups/beingpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-25 00:37:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-25 00:37:23 +0300
commit8e97f21210ff36cd935e1e51040ec239c0c97597 (patch)
tree32216fcabde88e3bab5a76bb9de8b63b0fee7125 /src/gui/popups/beingpopup.cpp
parent510af795924d874eb53b840f88dbabbe632a2ae8 (diff)
downloadplus-8e97f21210ff36cd935e1e51040ec239c0c97597.tar.gz
plus-8e97f21210ff36cd935e1e51040ec239c0c97597.tar.bz2
plus-8e97f21210ff36cd935e1e51040ec239c0c97597.tar.xz
plus-8e97f21210ff36cd935e1e51040ec239c0c97597.zip
Fix compilation without eathena support.
Diffstat (limited to 'src/gui/popups/beingpopup.cpp')
-rw-r--r--src/gui/popups/beingpopup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp
index c743a99a5..c124d3c62 100644
--- a/src/gui/popups/beingpopup.cpp
+++ b/src/gui/popups/beingpopup.cpp
@@ -146,6 +146,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
label5->setCaption("");
label6->setCaption("");
+#ifdef EATHENA_SUPPORT
if (b->getType() == ActorType::Pet)
{
PetInfo *const info = PlayerInfo::getPet();
@@ -166,6 +167,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
}
}
else
+#endif
{
if (!(b->getPartyName().empty()))
{