summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2009-11-03 22:14:29 +0200
committerJared Adams <jaxad0127@gmail.com>2009-11-03 13:20:10 -0700
commitc416c51531e37e0be457e47b7c0e52439c543341 (patch)
tree949d9d7d2c1c92f85e91fbc1226dc74370b0312a
parent4660bdc37c79655e2d7b2e76f353153a15294fb1 (diff)
downloadmana-c416c51531e37e0be457e47b7c0e52439c543341.tar.gz
mana-c416c51531e37e0be457e47b7c0e52439c543341.tar.bz2
mana-c416c51531e37e0be457e47b7c0e52439c543341.tar.xz
mana-c416c51531e37e0be457e47b7c0e52439c543341.zip
Fix first time show HP bar in mini status.
-rw-r--r--src/gui/ministatus.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index 4cb0e1ac..51dbdebc 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -59,6 +59,7 @@ MiniStatusWindow::MiniStatusWindow():
mXpBar->getY() + mXpBar->getHeight());
setVisible((bool) config.getValue(getPopupName() + "Visible", true));
+ update(StatusWindow::HP);
}
void MiniStatusWindow::setIcon(int index, AnimatedSprite *sprite)