summaryrefslogtreecommitdiff
path: root/src/gui/windows/killstats.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-29 22:38:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-29 22:38:01 +0300
commit1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06 (patch)
tree2d7a5f379c70b16d12782f75568dab59de764551 /src/gui/windows/killstats.cpp
parenteac67bd477047c2da9a2aeabadd93554cccf0ed8 (diff)
downloadplus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.tar.gz
plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.tar.bz2
plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.tar.xz
plus-1fe9a9f2002dc2d04bb52ec79ffa8c198e8f6c06.zip
Fix code style.
Diffstat (limited to 'src/gui/windows/killstats.cpp')
-rw-r--r--src/gui/windows/killstats.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp
index f3ebbdaa4..dfc3c616e 100644
--- a/src/gui/windows/killstats.cpp
+++ b/src/gui/windows/killstats.cpp
@@ -201,7 +201,8 @@ void KillStats::resetTimes()
void KillStats::gainXp(int xp)
{
- const int expNeed = PlayerInfo::getAttribute(Attributes::PLAYER_EXP_NEEDED);
+ const int expNeed = PlayerInfo::getAttribute(
+ Attributes::PLAYER_EXP_NEEDED);
if (xp == expNeed)
xp = 0;
else if (!xp)