diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-06-04 06:54:07 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-06-04 06:54:07 +0200 |
commit | 28137fc85af05d82dd4586ea710ae1ff3e132fe8 (patch) | |
tree | ed903d76c04716de28eea04371f168ce4eb9841e /crawl-ref/source/areas.cc | |
parent | d8e8c7592b677252fbe37d5f9c7c4ccdc4c3d481 (diff) | |
download | crawl-ref-28137fc85af05d82dd4586ea710ae1ff3e132fe8.tar.gz crawl-ref-28137fc85af05d82dd4586ea710ae1ff3e132fe8.zip |
Deparenthesize return (scalar).
Diffstat (limited to 'crawl-ref/source/areas.cc')
-rw-r--r-- | crawl-ref/source/areas.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/areas.cc b/crawl-ref/source/areas.cc index b96231a0f5..6b4533567f 100644 --- a/crawl-ref/source/areas.cc +++ b/crawl-ref/source/areas.cc @@ -847,12 +847,12 @@ int player::soul_aura_radius2() const int player::heat_radius2() const { if (you.species != SP_LAVA_ORC) - return (-1); + return -1; if (!temperature_effect(LORC_HEAT_AURA)) - return (-1); + return -1; - return (2); // Surrounds you to radius of 1. + return 2; // Surrounds you to radius of 1. } // Stub for monster radius @@ -864,7 +864,7 @@ int monster::heat_radius2() const bool heated(const coord_def& p) { if (!map_bounds(p)) - return (false); + return false; if (!_agrid_valid) _update_agrid(); |