diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:02 +0300 |
commit | 8daa939a45794c26a33e109c13c4d6f58a46e00e (patch) | |
tree | fa0c2f40eec569816cfa2565f1070ddd90f57bf3 /src/being/playerrelations.cpp | |
parent | 6d4da51f0fdcecc2d4398f60dbca43f499fdbe16 (diff) | |
download | plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.gz plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.bz2 plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.xz plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.zip |
Fix code style in being
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r-- | src/being/playerrelations.cpp | 4 |
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) { |