summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledoll.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
commitc41419c4f47bbf0737d3fedf58128c835d2c4e3b (patch)
tree764ae18c107df39fd90af718922036bd245561ca /crawl-ref/source/tiledoll.cc
parentb80adef8882143cad34f3c8bcc9a8ccbd4440223 (diff)
downloadcrawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.tar.gz
crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.zip
Drop parentheses around scalar values in "return".
Diffstat (limited to 'crawl-ref/source/tiledoll.cc')
-rw-r--r--crawl-ref/source/tiledoll.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/tiledoll.cc b/crawl-ref/source/tiledoll.cc
index 96b52e7369..d237edd754 100644
--- a/crawl-ref/source/tiledoll.cc
+++ b/crawl-ref/source/tiledoll.cc
@@ -91,10 +91,10 @@ bool save_doll_data(int mode, int num, const dolls_data* dolls)
}
fclose(fp);
- return (true);
+ return true;
}
- return (false);
+ return false;
}
bool load_doll_data(const char *fn, dolls_data *dolls, int max,
@@ -119,7 +119,7 @@ bool load_doll_data(const char *fn, dolls_data *dolls, int max,
{
// File doesn't exist. By default, use equipment settings.
*mode = TILEP_MODE_EQUIP;
- return (false);
+ return false;
}
else
{
@@ -154,7 +154,7 @@ bool load_doll_data(const char *fn, dolls_data *dolls, int max,
// If we don't need to load a doll, return now.
fclose(fp);
- return (true);
+ return true;
}
int count = 0;
@@ -184,7 +184,7 @@ bool load_doll_data(const char *fn, dolls_data *dolls, int max,
}
fclose(fp);
- return (true);
+ return true;
}
}