From 44355dadbcb1927617ef6302f7cba555437b6dac Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 2 Apr 2009 17:54:41 +0200 Subject: Partially fixed compilation for TMWServ. src/gui/buysell.cpp still needs to be fixed. --- src/gui/popupmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/popupmenu.cpp') diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 2b49ff30..37b5f8fd 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -299,7 +299,6 @@ void PopupMenu::handleLink(const std::string &link) { player_node->inviteToParty(dynamic_cast (being)); } -#endif else if (link == "admin-kick" && being && (being->getType() == Being::PLAYER || @@ -307,6 +306,7 @@ void PopupMenu::handleLink(const std::string &link) { adminHandler->kick(being->getId()); } +#endif // Unknown actions else -- cgit v1.2.3-70-g09d2