summaryrefslogtreecommitdiff
path: root/src/being/playerrelations.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:53:23 +0300
commitd42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5 (patch)
treeae9e96faf2ae25a47b0f0f207b55d201729e3e41 /src/being/playerrelations.cpp
parent237449794444d60ecc4a669d78becac5372da723 (diff)
downloadmanaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.gz
manaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.bz2
manaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.tar.xz
manaverse-d42aa0fad2f04b4e021b20b313ba6c9fb0d4e9d5.zip
Fix code style in being.
Diffstat (limited to 'src/being/playerrelations.cpp')
-rw-r--r--src/being/playerrelations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index 06815baeb..f1804e2b0 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -173,7 +173,7 @@ int PlayerRelationsManager::getPlayerIgnoreStrategyIndex(
for (size_t i = 0; i < sz; i++)
{
if ((*strategies)[i]->mShortName == name)
- return i;
+ return static_cast<int>(i);
}
return -1;