summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-04-02 17:54:41 +0200
committerPhilipp Sehmisch <crush@themanaworld.org>2009-04-02 18:03:46 +0200
commit44355dadbcb1927617ef6302f7cba555437b6dac (patch)
tree29ee2aeb5fc7fdf713777ec0030839648189d896 /src/gui/popupmenu.cpp
parent722ea46c1e22fc8645477f6319c5099cb6066270 (diff)
downloadmana-client-44355dadbcb1927617ef6302f7cba555437b6dac.tar.gz
mana-client-44355dadbcb1927617ef6302f7cba555437b6dac.tar.bz2
mana-client-44355dadbcb1927617ef6302f7cba555437b6dac.tar.xz
mana-client-44355dadbcb1927617ef6302f7cba555437b6dac.zip
Partially fixed compilation for TMWServ. src/gui/buysell.cpp still needs to be fixed.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
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<Player*> (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