diff options
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) |