diff options
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r-- | src/gui/ministatus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp index f3a8b807..2bdf79b4 100644 --- a/src/gui/ministatus.cpp +++ b/src/gui/ministatus.cpp @@ -207,7 +207,7 @@ void MiniStatusWindow::logic() if (config.getValue("xpBarMonsterCounterExp", 0)!=0) { updatedText << " | " - << (int)(((float)player_node->mXpForNextLevel - (float)player_node->mXp) + << (int)(((float)local_player->mXpForNextLevel - (float)local_player->mXp) / (float)config.getValue("xpBarMonsterCounterExp", 0)) << " " << config.getValue("xpBarMonsterCounterName", "Monsters") <<" left..."; |