summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-05 01:09:30 +0300
commit485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch)
treece74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/being/playerinfo.cpp
parent33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff)
downloadmanaplus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz
manaplus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2
manaplus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz
manaplus-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip
Fix code style.
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r--src/being/playerinfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp
index 15c2eb939..32a39e0c7 100644
--- a/src/being/playerinfo.cpp
+++ b/src/being/playerinfo.cpp
@@ -173,7 +173,8 @@ int getStatEffective(const AttributesT id)
const std::pair<int, int> getStatExperience(const AttributesT id)
{
const StatMap::const_iterator it = mData.mStats.find(id);
- int a, b;
+ int a;
+ int b;
if (it != mData.mStats.end())
{
a = it->second.exp;