From e2270069f7b23cac4b1249919f980813935d2fd4 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 31 Oct 2009 18:17:58 -0500 Subject: Add minor cosmetic fixes. --- crawl-ref/source/mapdef.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/mapdef.cc') diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index 0ca0a7a951..8b0f28a90d 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -518,7 +518,7 @@ void map_lines::add_line(const std::string &s) std::string map_lines::clean_shuffle(std::string s) { - return replace_all_of(s, " \t", ""); + return (replace_all_of(s, " \t", "")); } std::string map_lines::check_block_shuffle(const std::string &s) @@ -614,10 +614,10 @@ bool map_colour_list::parse(const std::string &col, int weight) { const int colour = col == "none" ? BLACK : str_to_colour(col, -1); if (colour == -1) - return false; + return (false); push_back(map_weighted_colour(colour, weight)); - return true; + return (true); } std::string map_lines::add_colour(const std::string &sub) @@ -2725,10 +2725,10 @@ mons_spec mons_list::mons_by_name(std::string name) const return (MONS_ABOMINATION_LARGE); if (ends_with(name, "-headed hydra") && !starts_with(name, "spectral ")) - return get_hydra_spec(name); + return (get_hydra_spec(name)); if (ends_with(name, " slime creature")) - return get_slime_spec(name); + return (get_slime_spec(name)); mons_spec spec; get_zombie_type(name, spec); -- cgit v1.2.3-54-g00ecf