summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/statuswindow.cpp3
-rw-r--r--src/gui/statuswindow.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index bd1d4d85..4d8ce840 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -179,6 +179,9 @@ StatusWindow::StatusWindow():
std::string StatusWindow::update(int id)
{
+ if (miniStatusWindow)
+ miniStatusWindow->update(id);
+
if (id == HP)
{
updateHPBar(mHpBar, true);
diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h
index 79382cd5..f6d4f73e 100644
--- a/src/gui/statuswindow.h
+++ b/src/gui/statuswindow.h
@@ -67,9 +67,9 @@ class StatusWindow : public Window
static void updateMPBar(ProgressBar *bar, bool showMax = false);
static void updateXPBar(ProgressBar *bar, bool percent = true);
static void updateProgressBar(ProgressBar *bar, int value, int max,
- bool percent);
- static void updateProgressBar(ProgressBar *bar, int id,
- bool percent = true);
+ bool percent);
+ void updateProgressBar(ProgressBar *bar, int id,
+ bool percent = true);
private:
/**