summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index e6b522f2d0..9ad25159f8 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -4560,7 +4560,7 @@ void monsters::teleport(bool now, bool)
bool monsters::alive() const
{
- return (type != -1 && hit_points > 0);
+ return (hit_points > 0 && type != -1);
}
god_type monsters::deity() const