diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 00:24:30 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 00:24:30 +0000 |
commit | 8cfe50ff16aba99689e394bf1c01d69a0570ceab (patch) | |
tree | 7c4e4ec786f2737b6063965fdd9e22fedcef28f2 /crawl-ref/source/mon-util.cc | |
parent | 0dc36b35b937433375d367ae482b077510e0dd40 (diff) | |
download | crawl-ref-8cfe50ff16aba99689e394bf1c01d69a0570ceab.tar.gz crawl-ref-8cfe50ff16aba99689e394bf1c01d69a0570ceab.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5383 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 418bcc373c..9a20ca6164 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -6156,15 +6156,16 @@ void mon_enchant::set_duration(const monsters *mons, const mon_enchant *added) // replaces @player_god@ and @god_is@ with player's god name // special handling for atheists: use "you"/"You" instead -static std::string _replace_god_name(bool need_verb = false, bool capital = false) +static std::string _replace_god_name(bool need_verb = false, + bool capital = false) { std::string result = - (you.religion == GOD_NO_GOD ? (capital? "You" : "you") + (you.religion == GOD_NO_GOD ? (capital ? "You" : "you") : god_name(you.religion, false)); if (need_verb) { result += - (you.religion == GOD_NO_GOD? " are" : " is"); + (you.religion == GOD_NO_GOD ? " are" : " is"); } return (result); |