summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/areas.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-06-04 06:54:07 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-06-04 06:54:07 +0200
commit28137fc85af05d82dd4586ea710ae1ff3e132fe8 (patch)
treeed903d76c04716de28eea04371f168ce4eb9841e /crawl-ref/source/areas.cc
parentd8e8c7592b677252fbe37d5f9c7c4ccdc4c3d481 (diff)
downloadcrawl-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.cc8
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();