diff options
author | Tametomo <irarice@gmail.com> | 2009-05-05 09:11:14 -0600 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-11 20:51:12 +0200 |
commit | 536fba3a842f2d4a419401723e987dead51567dd (patch) | |
tree | 2f05b239f45f46f679322607570f85f1a79dafcc /src/gui/statuswindow.cpp | |
parent | e6ab90659ce1430c8d321a68d59de129197a8312 (diff) | |
download | mana-536fba3a842f2d4a419401723e987dead51567dd.tar.gz mana-536fba3a842f2d4a419401723e987dead51567dd.tar.bz2 mana-536fba3a842f2d4a419401723e987dead51567dd.tar.xz mana-536fba3a842f2d4a419401723e987dead51567dd.zip |
Start out all progress bars at 0, so that they progress upwards.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index e76c19a7..edbf387b 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -50,7 +50,7 @@ StatusWindow::StatusWindow(LocalPlayer *player): mMoneyLabel = new Label("Money:"); mHpLabel = new Label("HP:"); - mHpBar = new ProgressBar(1.0f, 80, 15, gcn::Color(0, 171, 34)); + mHpBar = new ProgressBar(0.0f, 80, 15, gcn::Color(0, 171, 34)); mHpValueLabel = new Label; int y = 3; |