From 0bd9c6b0a477eceb762f62ef8b3be96f90eeb225 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 12 Feb 2009 17:15:46 +0000 Subject: Add more minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9044 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crawl-ref/source/religion.cc') diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index d5c00d9f68..c334a1e2d2 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -460,7 +460,7 @@ std::string get_god_powers(god_type which_god) { // Return early for the special cases. if (which_god == GOD_NO_GOD) - return ""; + return (""); std::string result = getLongDescription(god_name(which_god) + " powers"); return (result); @@ -469,7 +469,7 @@ std::string get_god_powers(god_type which_god) std::string get_god_likes(god_type which_god, bool verbose) { if (which_god == GOD_NO_GOD || which_god == GOD_XOM) - return ""; + return (""); std::string text = god_name(which_god); std::vector likes; @@ -710,7 +710,7 @@ std::string get_god_dislikes(god_type which_god, bool /*verbose*/) { // Return early for the special cases. if (which_god == GOD_NO_GOD || which_god == GOD_XOM) - return ""; + return (""); std::vector dislikes; @@ -793,7 +793,7 @@ std::string get_god_dislikes(god_type which_god, bool /*verbose*/) } if (dislikes.empty()) - return ""; + return (""); std::string text = god_name(which_god); text += " dislikes it when "; @@ -2297,7 +2297,7 @@ std::string god_name( god_type which_god, bool long_name ) } case NUM_GODS: return "Buggy"; } - return ""; + return (""); } god_type string_to_god(const char *_name, bool exact) @@ -6656,17 +6656,17 @@ std::string god_hates_your_god_reaction(god_type god, god_type your_god) { // Non-good gods always hate your current god. if (!is_good_god(god)) - return ""; + return (""); // Zin hates chaotic gods. if (god == GOD_ZIN && is_chaotic_god(your_god)) - return " for chaos"; + return (" for chaos"); if (is_evil_god(your_god)) - return " for evil"; + return (" for evil"); } - return ""; + return (""); } bool god_hates_cannibalism(god_type god) -- cgit v1.2.3-54-g00ecf