diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index feba9dcaa..d2fc1c4c8 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -868,8 +868,7 @@ impHandler0(attackHuman) if (!actorManager || !localPlayer) return false; - Being *const target = actorManager->findNearestLivingBeing( - localPlayer, 10, ActorType::Player, AllowSort_true); + Being *const target = actorManager->findNearestPvpPlayer(); if (target) { localPlayer->setTarget(target); |