summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-23 11:32:07 -0700
committerFate <fate-tmw@googlemail.com>2008-11-23 11:32:07 -0700
commitd011f8f984f454a76adaf04142df0daa03dd00a8 (patch)
treed03e1deb52c863e497aed2b02d3ec34f1069653a /src/gui/status.cpp
parent12d50ac3bd08576ea23e00778463c3efa6b3a931 (diff)
downloadmana-client-d011f8f984f454a76adaf04142df0daa03dd00a8.tar.gz
mana-client-d011f8f984f454a76adaf04142df0daa03dd00a8.tar.bz2
mana-client-d011f8f984f454a76adaf04142df0daa03dd00a8.tar.xz
mana-client-d011f8f984f454a76adaf04142df0daa03dd00a8.zip
Grey out magic bar if matk negative, update F2 window magic bar
Diffstat (limited to 'src/gui/status.cpp')
-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 927b3554..eebd0a21 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -265,7 +265,7 @@ void StatusWindow::update()
}
mHpBar->setProgress((float) mPlayer->mHp / (float) mPlayer->mMaxHp);
- // mMpBar->setProgress((float)mPlayer->mp / (float)mPlayer->maxMp);
+ mMpBar->setProgress((float) mPlayer->mMp / (float) mPlayer->mMaxMp);
mXpBar->setProgress(
(float) mPlayer->getXp() / (float) mPlayer->mXpForNextLevel);