summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:43:19 +0300
commit0888773fc1de5cc2aa1d92564e8d05231189e6f9 (patch)
tree001209ae09a69d15d29007d8a1762de56c94e362 /src/commands.cpp
parentac2cda962d5fc3e23858527be45a8ae7b9856b84 (diff)
downloadmanaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.gz
manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.bz2
manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.xz
manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.zip
Move chat command /addattack into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index edccdec54..46d2f17ea 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -157,19 +157,6 @@ impHandler(hack)
return true;
}
-impHandler(addAttack)
-{
- if (!actorManager || actorManager->isInAttackList(event.args))
- return false;
-
- actorManager->removeAttackMob(event.args);
- actorManager->addAttackMob(event.args);
-
- if (socialWindow)
- socialWindow->updateAttackFilter();
- return true;
-}
-
impHandler(removeAttack)
{
if (!actorManager || event.args.empty()