summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 3ba87f748..a28e37be0 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -24,12 +24,18 @@ class cTeam;
// tolua_begin
-class cPlayer :
+class cPlayer:
public cPawn
{
- typedef cPawn super;
+
+ // tolua_end
+
+ using Super = cPawn;
+
+ // tolua_begin
public:
+
static const int MAX_HEALTH;
static const int MAX_FOOD_LEVEL;