summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:02 +0300
commit8daa939a45794c26a33e109c13c4d6f58a46e00e (patch)
treefa0c2f40eec569816cfa2565f1070ddd90f57bf3 /src/being/playerrelations.cpp
parent6d4da51f0fdcecc2d4398f60dbca43f499fdbe16 (diff)
downloadmanaverse-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.gz
manaverse-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.bz2
manaverse-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.xz
manaverse-8daa939a45794c26a33e109c13c4d6f58a46e00e.zip
Fix code style in being
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index f1804e2b0..41d14c2ea 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -268,8 +268,8 @@ unsigned int PlayerRelationsManager::checkPermissionSilently(
else
{
const PlayerRelation *const r = (*it).second;
- unsigned int permissions =
- PlayerRelation::RELATION_PERMISSIONS[r->mRelation];
+ unsigned int permissions = PlayerRelation::RELATION_PERMISSIONS[
+ static_cast<int>(r->mRelation)];
switch (r->mRelation)
{