summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp12
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)