diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:43:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:43:19 +0300 |
commit | 0888773fc1de5cc2aa1d92564e8d05231189e6f9 (patch) | |
tree | 001209ae09a69d15d29007d8a1762de56c94e362 /src/commands.cpp | |
parent | ac2cda962d5fc3e23858527be45a8ae7b9856b84 (diff) | |
download | manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.gz manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.bz2 manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.xz manaplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.zip |
Move chat command /addattack into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 13 |
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() |