From ed3a6c7e1771100e81c53cc583828712d029b018 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Wed, 13 Dec 2017 20:33:57 +0100 Subject: Add health bars. --- src/game/game.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/game.hpp') 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; -- cgit