diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 7ea248d7e3..243b8f03e4 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -2936,6 +2936,11 @@ bool monsters::alive() const return (hit_points > 0 && type != -1); } +god_type monsters::deity() const +{ + return (god); +} + void monsters::hurt(actor *agent, int amount) { if (amount <= 0) |