summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 22:49:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 22:49:39 +0300
commit53fce496581e70f0d99bf91152cc6d7e802e0974 (patch)
treeda324a2b4767916437a8bffcf65b170ba38008ad /src/commands.cpp
parent3a091245572872f5cda79eab92eb392f92c02b39 (diff)
downloadplus-53fce496581e70f0d99bf91152cc6d7e802e0974.tar.gz
plus-53fce496581e70f0d99bf91152cc6d7e802e0974.tar.bz2
plus-53fce496581e70f0d99bf91152cc6d7e802e0974.tar.xz
plus-53fce496581e70f0d99bf91152cc6d7e802e0974.zip
Move chat command /target into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 80fac44fe..e06017b28 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -166,17 +166,6 @@ impHandler(navigate)
return true;
}
-impHandler(target)
-{
- if (!actorManager || !localPlayer)
- return false;
-
- Being *const target = actorManager->findNearestByName(event.args);
- if (target)
- localPlayer->setTarget(target);
- return true;
-}
-
impHandler0(attackHuman)
{
if (!actorManager || !localPlayer)