summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 0ad0614..f6687dc 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -86,7 +86,7 @@ namespace game {
bool dead = false;
double death_time = -INFINITY;
- int health = 1;
+ int health = 1, max_health = 1;
void damage(double now, int points);
virtual void die(double now) = 0;