diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 19:38:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 20:40:39 +0300 |
commit | a4077c474c370275442982965bb174b2e1e59422 (patch) | |
tree | 86607326f06bb241cb0245d294b3220eacaba5cc /src/commands.cpp | |
parent | 647c1a8b8b02b737b11b1e08af86ecc84f649a81 (diff) | |
download | manaverse-a4077c474c370275442982965bb174b2e1e59422.tar.gz manaverse-a4077c474c370275442982965bb174b2e1e59422.tar.bz2 manaverse-a4077c474c370275442982965bb174b2e1e59422.tar.xz manaverse-a4077c474c370275442982965bb174b2e1e59422.zip |
Move chat command /attack into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 78ea09576..3c3b1dbe4 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -157,18 +157,6 @@ impHandler(hack) return true; } -impHandler(attack) -{ - if (!localPlayer || !actorManager) - return false; - - Being *const target = actorManager->findNearestByName(event.args); - if (target) - localPlayer->setTarget(target); - localPlayer->attack2(localPlayer->getTarget(), true); - return true; -} - impHandler0(dirs) { if (!localPlayer || !debugChatTab) |