summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-12-02 14:56:08 -0700
committerIra Rice <irarice@gmail.com>2008-12-02 14:56:08 -0700
commitd9f02ef550e80b596e951fc21e63f814df47914d (patch)
tree12382eff7f5b82a1439ee3df941c167e50960aaa /src/gui
parente228c6d5d499f8a59d215a0c3e6122b8800214fc (diff)
downloadmana-client-d9f02ef550e80b596e951fc21e63f814df47914d.tar.gz
mana-client-d9f02ef550e80b596e951fc21e63f814df47914d.tar.bz2
mana-client-d9f02ef550e80b596e951fc21e63f814df47914d.tar.xz
mana-client-d9f02ef550e80b596e951fc21e63f814df47914d.zip
Fixed MP bar updating in Status window. Thanks Scraggy for catching
this. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-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 9d6760d0..d254f910 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -261,7 +261,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);