about summary refs log tree commit diff
path: root/src/entities/creature.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities/creature.rs')
-rw-r--r--src/entities/creature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/creature.rs b/src/entities/creature.rs
index 4cf6f60bdc6c..87ffda161e1c 100644
--- a/src/entities/creature.rs
+++ b/src/entities/creature.rs
@@ -44,7 +44,7 @@ impl Creature {
 
     /// Returns true if this creature has died
     pub fn dead(&self) -> bool {
-        self.hitpoints <= 0
+        self.hitpoints == 0
     }
 }