diff options
author | Fate <fate-tmw@googlemail.com> | 2008-11-23 11:32:07 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-11-23 11:32:07 -0700 |
commit | d011f8f984f454a76adaf04142df0daa03dd00a8 (patch) | |
tree | d03e1deb52c863e497aed2b02d3ec34f1069653a /src/gui/status.cpp | |
parent | 12d50ac3bd08576ea23e00778463c3efa6b3a931 (diff) | |
download | mana-d011f8f984f454a76adaf04142df0daa03dd00a8.tar.gz mana-d011f8f984f454a76adaf04142df0daa03dd00a8.tar.bz2 mana-d011f8f984f454a76adaf04142df0daa03dd00a8.tar.xz mana-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.cpp | 2 |
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); |