summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/status.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index f5ec5c13..0528a439 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -353,7 +353,7 @@ void StatusWindow::updateXPBar(ProgressBar *bar, bool percent)
void StatusWindow::updateJobBar(ProgressBar *bar, bool percent)
{
- if (player_node->mXpForNextLevel == 0) {
+ if (player_node->mJobXpForNextLevel == 0) {
bar->setText(_("Max level"));
bar->setProgress(1.0);
} else {