summaryrefslogtreecommitdiff
path: root/src/gui/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/status.h')
-rw-r--r--src/gui/status.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/status.h b/src/gui/status.h
index 1df4e346..c01b5676 100644
--- a/src/gui/status.h
+++ b/src/gui/status.h
@@ -32,6 +32,7 @@
#include "../guichanfwd.h"
+class LocalPlayer;
class ProgressBar;
@@ -45,7 +46,7 @@ class StatusWindow : public Window, public gcn::ActionListener {
/**
* Constructor.
*/
- StatusWindow();
+ StatusWindow(LocalPlayer *player);
/**
* Called when receiving actions from widget.
@@ -63,6 +64,7 @@ class StatusWindow : public Window, public gcn::ActionListener {
void update();
private:
+ LocalPlayer *mPlayer;
/**
* Status Part