summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-08-15 04:05:00 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-08-15 04:05:00 +0000
commit4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8 (patch)
tree7ce20c5cd8e8a1990c93919a94ceec8a1459dffe
parentab1ac07910ae0a4a874a4469a28b192eba28c5d6 (diff)
downloadmana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.tar.gz
mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.tar.bz2
mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.tar.xz
mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.zip
Activated MP status progress bar
-rw-r--r--ChangeLog5
-rw-r--r--src/gui/ministatus.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 171295d9..0204d81e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-14 Lloyd Bryant ("Sanga") <sanga@aethyra.com>
+
+ * Uncommented line so that MP status bar correctly
+ updates based on remaining mana
+
2008-08-13 Lloyd Bryant ("Sanga") <sanga@aethyra.com>
* Added code to display NPC and monster names using an
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index 3a7e7bf0..1bdabbfe 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -98,7 +98,7 @@ void MiniStatusWindow::update()
}
mHpBar->setProgress((float) player_node->mHp / player_node->mMaxHp);
- // mMpBar->setProgress((float) player_node->mMp / player_node->mMaxMp);
+ mMpBar->setProgress((float) player_node->mMp / player_node->mMaxMp);
mXpBar->setProgress(
(float) player_node->getXp() / player_node->mXpForNextLevel);