diff options
author | tom <tom@ground-control> | 2015-05-08 16:16:59 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-05-08 16:16:59 -0500 |
commit | 83d23230a3d71d76ee5e0368e071273beaa6d1b4 (patch) | |
tree | d617951e5d897ab79efdc061d541c860c2569fd5 /src/creature.cpp | |
parent | ef2d82b47654dff444263ae149aec0d416a4f405 (diff) |
death now works properly
Diffstat (limited to 'src/creature.cpp')
-rw-r--r-- | src/creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |