summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index b4f19ef00..a941dc42c 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2614,7 +2614,7 @@ bool LocalPlayer::checAttackPermissions(const Being *const target)
return true;
case 1:
return !(player_relations.getRelation(target->getName())
- == PlayerRelation::FRIEND);
+ == Relation::FRIEND);
case 2:
return player_relations.checkBadRelation(target->getName());
default: