summaryrefslogtreecommitdiff
path: root/src/gui/widgets/playerbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/playerbox.h')
-rw-r--r--src/gui/widgets/playerbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h
index a066c104e..d2393ca08 100644
--- a/src/gui/widgets/playerbox.h
+++ b/src/gui/widgets/playerbox.h
@@ -25,6 +25,8 @@
#include <guichan/widgets/scrollarea.hpp>
+#include "localconsts.h"
+
class Being;
class ImageRect;
@@ -40,7 +42,7 @@ class PlayerBox : public gcn::ScrollArea
* Constructor. Takes the initial player character that this box should
* display, which defaults to <code>NULL</code>.
*/
- PlayerBox(const Being *being = 0);
+ PlayerBox(const Being *being = nullptr);
/**
* Destructor.