diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-24 23:37:25 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-24 23:37:25 +0000 |
commit | 3ec5cfe6d308c420acb8b24b6c7df328d91244d0 (patch) | |
tree | ad48774590584f98e620c07285ecec3174ef35da /crawl-ref/source/religion.cc | |
parent | c5fc8279ea51fb1e92ac0212ebb96caa9becd993 (diff) | |
download | crawl-ref-3ec5cfe6d308c420acb8b24b6c7df328d91244d0.tar.gz crawl-ref-3ec5cfe6d308c420acb8b24b6c7df328d91244d0.zip |
Add miscellaneous minor cleanups.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8722 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index dbdf544dca..14ef2b7f5d 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -1810,24 +1810,14 @@ bool bless_follower(monsters *follower, blessing_done: - bool see_follower = false; - std::string whom = ""; if (!follower) whom = "you"; else { if (mons_near(follower) && player_monster_visible(follower)) - see_follower = true; - - if (see_follower) - { - if (follower->is_named()) - whom = follower->name(DESC_PLAIN); - else - whom = "your " + follower->name(DESC_PLAIN); - } - else // cannot see who was blessed + whom = follower->name(DESC_NOCAP_THE); + else whom = "a follower"; } |