summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2006-12-27 20:39:21 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2006-12-27 20:39:21 +0000
commitb2ef30efb59c8aa4df3bbaab376d46c583a40d98 (patch)
treebfa5f4b4dbb937b4413e79427bf1bbab8522dbdb /src/gui/popupmenu.cpp
parent8da32105732949b4b0273c718d118bcfae70a1c9 (diff)
downloadmana-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.tar.gz
mana-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.tar.bz2
mana-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.tar.xz
mana-b2ef30efb59c8aa4df3bbaab376d46c583a40d98.zip
Client-sided implementation of attacks
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index c2959e1d..c7c77ef4 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -136,14 +136,6 @@ void PopupMenu::handleLink(const std::string& link)
tradePartnerName = mBeing->getName();
}
- // Attack action
- else if (link == "attack" &&
- mBeing != NULL &&
- mBeing->getType() == Being::PLAYER)
- {
- player_node->attack(mBeing, true);
- }
-
/*
// Follow Player action
else if (link == "follow")