diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index a08eb1265..4d085eae4 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -1586,7 +1586,7 @@ void LocalPlayer::event(Channels channel, const Mana::Event &event) int change = exp.first - event.getInt("oldValue1"); if (change != 0 && mMessages.size() < 20) { - if (mMessages.size() > 0) + if (!mMessages.empty()) { MessagePair pair = mMessages.back(); if (pair.first.find(" xp") == pair.first.size() - 3) |