summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
committerNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
commite7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch)
treeec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/actor.cc
parentb65bf4d5198c19095e3084a88983680df19ec5ee (diff)
downloadcrawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz
crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/actor.cc')
-rw-r--r--crawl-ref/source/actor.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/actor.cc b/crawl-ref/source/actor.cc
index 60be97feb6..5803afeb22 100644
--- a/crawl-ref/source/actor.cc
+++ b/crawl-ref/source/actor.cc
@@ -30,10 +30,10 @@ actor::~actor()
bool actor::will_trigger_shaft() const
{
- return (ground_level() && total_weight() > 0 && is_valid_shaft_level()
- // let's pretend that they always make their saving roll
- && !(is_monster()
- && mons_is_elven_twin(static_cast<const monster* >(this))));
+ return ground_level() && total_weight() > 0 && is_valid_shaft_level()
+ // let's pretend that they always make their saving roll
+ && !(is_monster()
+ && mons_is_elven_twin(static_cast<const monster* >(this)));
}
level_id actor::shaft_dest(bool known = false) const
@@ -44,7 +44,7 @@ level_id actor::shaft_dest(bool known = false) const
bool actor::airborne() const
{
flight_type fly = flight_mode();
- return (fly == FL_LEVITATE || fly == FL_WINGED && !cannot_move());
+ return fly == FL_LEVITATE || fly == FL_WINGED && !cannot_move();
}
/**