diff options
author | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-08-15 04:05:00 +0000 |
---|---|---|
committer | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-08-15 04:05:00 +0000 |
commit | 4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8 (patch) | |
tree | 7ce20c5cd8e8a1990c93919a94ceec8a1459dffe | |
parent | ab1ac07910ae0a4a874a4469a28b192eba28c5d6 (diff) | |
download | mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.tar.gz mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.tar.bz2 mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.tar.xz mana-4843a33a35cf46fe7978c59c0bf9b5b5e7c885c8.zip |
Activated MP status progress bar
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gui/ministatus.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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); |