diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 15:22:36 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-24 15:22:36 +0000 |
commit | 7ca99d41069c089c7b3a291f1d05aac9943310a1 (patch) | |
tree | 534a15e2a01442cf89beff8b8b682045e08b19ad /crawl-ref/source/religion.h | |
parent | 6fa0349a6996a4fc50ad1fa1b4d27fd1add7944e (diff) | |
download | crawl-ref-7ca99d41069c089c7b3a291f1d05aac9943310a1.tar.gz crawl-ref-7ca99d41069c089c7b3a291f1d05aac9943310a1.zip |
Some cleanup in the blessing routines.
Possibly fix a crash when calling bless_follower without an argument
(it only happened with Beogh and TSO, so this is the most likely
candidate).
Outsource Boris' "I'll be back" speech.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4591 c06c8d41-db1a-0410-9941-cceddc491573
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 16d5e5f7fc..7e972edeef 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -78,7 +78,7 @@ bool tso_stab_safe_monster(const actor *act); bool is_good_follower(const monsters* mon); bool is_orcish_follower(const monsters* mon); bool is_follower(const monsters* mon); -bool bless_follower(monsters* follower = NULL, +bool bless_follower(int follower = -1, god_type god = you.religion, bool (*suitable)(const monsters* mon) = is_follower, bool force = false); |