summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-12 17:15:46 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-12 17:15:46 +0000
commit0bd9c6b0a477eceb762f62ef8b3be96f90eeb225 (patch)
tree69b5271699bf0645ce3f948bfdfe9211cca02cb4 /crawl-ref/source/religion.cc
parent34efc668b8b9f1e6f9fd9fa8c34769dfcfb3a8bd (diff)
downloadcrawl-ref-0bd9c6b0a477eceb762f62ef8b3be96f90eeb225.tar.gz
crawl-ref-0bd9c6b0a477eceb762f62ef8b3be96f90eeb225.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9044 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc18
1 files changed, 9 insertions, 9 deletions
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<std::string> 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<std::string> 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)