summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 172472072..c864b8c08 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1071,7 +1071,7 @@ Being *ActorManager::findNearestPvpPlayer() const
if (!((mapPvpMode != 0) || (teamId != 0)))
continue;
- if (!localPlayer->checAttackPermissions(being))
+ if (!LocalPlayer::checAttackPermissions(being))
continue;
const int dx = being->getTileX() - localPlayer->getTileX();