diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 23:07:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 23:07:02 +0300 |
commit | b0ab41f03839163549de4344c027a69312458e77 (patch) | |
tree | 2e7d8ec9a61dd23c667f7967b52971cd297624ec /src/commands.cpp | |
parent | 53fce496581e70f0d99bf91152cc6d7e802e0974 (diff) | |
download | mv-b0ab41f03839163549de4344c027a69312458e77.tar.gz mv-b0ab41f03839163549de4344c027a69312458e77.tar.bz2 mv-b0ab41f03839163549de4344c027a69312458e77.tar.xz mv-b0ab41f03839163549de4344c027a69312458e77.zip |
Move chat command /atkhuman into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index e06017b28..599db94e4 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -166,24 +166,6 @@ impHandler(navigate) return true; } -impHandler0(attackHuman) -{ - if (!actorManager || !localPlayer) - return false; - - Being *const target = actorManager->findNearestLivingBeing( - localPlayer, 10, ActorType::PLAYER, true); - if (target) - { - if (localPlayer->checAttackPermissions(target)) - { - localPlayer->setTarget(target); - localPlayer->attack2(target, true); - } - } - return true; -} - impHandler(outfit) { if (outfitWindow) |