From 22bb94a2587fa16d808ec966f01d07dc27d9f5d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Feb 2015 21:53:24 +0300 Subject: Build mercenaryhandler only if eathena enabled. --- src/gui/popups/popupmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/popups') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 936e490a3..bedc93259 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1464,6 +1464,7 @@ void PopupMenu::handleLink(const std::string &link, if (chat) chatHandler->joinChat(chat, ""); } +#ifdef EATHENA_SUPPORT else if (link == "fire mercenary") { mercenaryHandler->fire(); @@ -1472,7 +1473,6 @@ void PopupMenu::handleLink(const std::string &link, { mercenaryHandler->moveToMaster(); } -#ifdef EATHENA_SUPPORT else if (link == "homunculus to master") { homunculusHandler->moveToMaster(); -- cgit v1.2.3-60-g2f50