diff options
author | asuratva <asuratva@proton.me> | 2024-05-09 18:14:18 +0530 |
---|---|---|
committer | asuratva <asuratva@proton.me> | 2024-05-10 07:38:42 +0530 |
commit | 0595fe73ac239710a77e6afa8783f7c12d26350b (patch) | |
tree | 377bec0ea06d6a0172e037818fbc0b45e5360349 /src/gui/windows | |
parent | dd1627eb548a7705f749d2e8529207e6123e5e2e (diff) | |
download | plus-0595fe73ac239710a77e6afa8783f7c12d26350b.tar.gz plus-0595fe73ac239710a77e6afa8783f7c12d26350b.tar.bz2 plus-0595fe73ac239710a77e6afa8783f7c12d26350b.tar.xz plus-0595fe73ac239710a77e6afa8783f7c12d26350b.zip |
Fix: Job XP Bar not updating on monster kill in mini status window
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 4c2b2d376..956721c47 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -275,8 +275,6 @@ void MiniStatusWindow::statChanged(const AttributesT id A_UNUSED, statusWindow->updateMPBar(mMpBar, false); } - StatusWindow::updateJobBar(mJobBar, - true); } void MiniStatusWindow::attributeChanged(const AttributesT id, @@ -302,6 +300,11 @@ void MiniStatusWindow::attributeChanged(const AttributesT id, StatusWindow::updateXPBar(mXpBar, true); break; + case Attributes::PLAYER_JOB_LEVEL: + case Attributes::PLAYER_JOB_EXP: + case Attributes::PLAYER_JOB_EXP_NEEDED: + StatusWindow::updateJobBar(mJobBar, true); + break; case Attributes::TOTAL_WEIGHT: case Attributes::MAX_WEIGHT: StatusWindow::updateWeightBar(mWeightBar); |