summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:12:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:12:15 +0300
commitb96242e1d5a6af71e6f884596f77268743945c63 (patch)
tree1fc425037771265a1134956641c466095b7349a1 /src/gui
parent0cc662938674c22bb5a3d1e1521fe90eb28121e4 (diff)
downloadplus-b96242e1d5a6af71e6f884596f77268743945c63.tar.gz
plus-b96242e1d5a6af71e6f884596f77268743945c63.tar.bz2
plus-b96242e1d5a6af71e6f884596f77268743945c63.tar.xz
plus-b96242e1d5a6af71e6f884596f77268743945c63.zip
Build homunculushandler only if eathena enabled.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 7a4e9ae67..936e490a3 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -1472,6 +1472,7 @@ void PopupMenu::handleLink(const std::string &link,
{
mercenaryHandler->moveToMaster();
}
+#ifdef EATHENA_SUPPORT
else if (link == "homunculus to master")
{
homunculusHandler->moveToMaster();
@@ -1484,6 +1485,7 @@ void PopupMenu::handleLink(const std::string &link,
{
homunculusHandler->fire();
}
+#endif
else if (link == "pet feed")
{
petHandler->feed();