diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-03-22 15:53:30 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-03-22 22:54:42 +0100 |
commit | 889c096052179aa37a048ee9ed35153a6bbe30f1 (patch) | |
tree | 9b6e9a9a4ba9eec31783d1fe4f35d6ca57102b5e /crawl-ref/source/religion.h | |
parent | 3565ecf6be49a441389505484de12b63b42d3bc2 (diff) | |
download | crawl-ref-889c096052179aa37a048ee9ed35153a6bbe30f1.tar.gz crawl-ref-889c096052179aa37a048ee9ed35153a6bbe30f1.zip |
Use monster_type nearly everywhere.
Omitted:
* mspec.type (uses a lot of magic values in the negatives)
* item_def.orig_monnum (todo, +1 trick)
A few minor problems are fixed here:
* renamed gas spores passed mindex for monster_type
* demon summoning would break on addition/deletion of demon types
* vaults spawning zombified uniques would fail to mark them as used
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 2e23b9a1c1..e122d42d67 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -93,7 +93,7 @@ bool bless_follower(monster* follower = NULL, bool force = false); bool god_hates_attacking_friend(god_type god, const actor *fr); -bool god_hates_attacking_friend(god_type god, int species); +bool god_hates_attacking_friend(god_type god, monster_type species); bool god_likes_item(god_type god, const item_def& item); bool god_likes_items(god_type god); |