diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-14 00:34:21 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-14 00:34:21 +0000 |
commit | 6ea17448008f0ba87ce3bb7cc85fc409fc8d1e6c (patch) | |
tree | 18ec1bd10e2f3fe78a5bd0ff7e9a4b190db2f9de /crawl-ref/source/mon-util.h | |
parent | cb7ec291357aacf3f20b29b1971e64adbf93c476 (diff) | |
download | crawl-ref-6ea17448008f0ba87ce3bb7cc85fc409fc8d1e6c.tar.gz crawl-ref-6ea17448008f0ba87ce3bb7cc85fc409fc8d1e6c.zip |
Improve handling of god gifts when dumping gods, so that only god gifts
granted to you by that god are affected.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5803 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index cc7e364d37..8c9890e9f0 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -638,7 +638,7 @@ mon_attitude_type mons_attitude(const monsters *m); bool mons_behaviour_perceptible(const monsters *mon); bool mons_is_native_in_branch(const monsters *monster, const branch_type branch); -bool mons_is_god_gift(const monsters *mon); +bool mons_is_god_gift(const monsters *mon, god_type god = you.religion); bool mons_is_chaotic(const monsters *mon); bool mons_is_poisoner(const monsters *mon); bool mons_is_confused(const monsters *m); |