diff options
author | asuratva <asuratva@proton.me> | 2024-05-09 18:14:18 +0530 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-05-14 01:08:10 +0200 |
commit | 4337008fdeef5bb01be2fc6fed1683d5941f23ae (patch) | |
tree | 66d24f02d8ecef2e6effc827a84e408607932ca2 | |
parent | 46aed0c6b9be60355d89b4a9cf264f45290986b7 (diff) | |
download | manaverse-4337008fdeef5bb01be2fc6fed1683d5941f23ae.tar.gz manaverse-4337008fdeef5bb01be2fc6fed1683d5941f23ae.tar.bz2 manaverse-4337008fdeef5bb01be2fc6fed1683d5941f23ae.tar.xz manaverse-4337008fdeef5bb01be2fc6fed1683d5941f23ae.zip |
Fix: Job XP Bar not updating on monster kill in mini status window
****
mana/plus!83
-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..e52a1a8d7 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); |