From 8cfe50ff16aba99689e394bf1c01d69a0570ceab Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 1 Jun 2008 00:24:30 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5383 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/mon-util.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/mon-util.cc') 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); -- cgit v1.2.3-54-g00ecf