diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-18 21:32:02 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-18 21:32:02 -0700 |
commit | c530747fc02029b177cd1216f9145b12847b1b62 (patch) | |
tree | 59187bf64248f4b60ff3c879f6427403582b55fe /crawl-ref/source/wiz-mon.cc | |
parent | 46ce0616d57d90a693cfe757f59fa6ce3097453d (diff) | |
download | crawl-ref-c530747fc02029b177cd1216f9145b12847b1b62.tar.gz crawl-ref-c530747fc02029b177cd1216f9145b12847b1b62.zip |
Refactor Beogh/TSO blessing code
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r-- | crawl-ref/source/wiz-mon.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc index 7b646f821d..c2dec14b06 100644 --- a/crawl-ref/source/wiz-mon.cc +++ b/crawl-ref/source/wiz-mon.cc @@ -804,11 +804,6 @@ void debug_make_monster_shout(monster* mon) mpr("== Done =="); } -static bool _force_suitable(const monster* mon) -{ - return mon->alive(); -} - void wizard_gain_monster_level(monster* mon) { // Give monster as much experience as it can hold, @@ -840,7 +835,7 @@ void wizard_apply_monster_blessing(monster* mon) else god = GOD_SHINING_ONE; - if (!bless_follower(mon, god, _force_suitable, true)) + if (!bless_follower(mon, god, true)) mprf("%s won't bless this monster for you!", god_name(god).c_str()); } |