From 83d23230a3d71d76ee5e0368e071273beaa6d1b4 Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 8 May 2015 16:16:59 -0500 Subject: death now works properly --- src/creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/creature.cpp') diff --git a/src/creature.cpp b/src/creature.cpp index 5c3bb8e..dcc8337 100644 --- a/src/creature.cpp +++ b/src/creature.cpp @@ -14,7 +14,7 @@ Creature::Creature(Window m, std::string s) //Constructor void Creature::Behavior() { - health--; //Decrements health each time a behavior is executed + health-=5; //Decrements health each time a behavior is executed this->Priority(); //Checks which action has priority (doesn't really do this right now) this->Action(); //Does action } -- cgit v1.2.3