diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-21 12:37:25 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-21 12:37:25 -0600 |
commit | 4277eaea5e02fb69d64193a0395357e2c346afdb (patch) | |
tree | 68806b639fbb4d2e08215b12517c86c2eee0fe94 /crawl-ref/source/actor.cc | |
parent | 505571294e7ca02c0af89ff2b25f3cecde439448 (diff) | |
download | crawl-ref-4277eaea5e02fb69d64193a0395357e2c346afdb.tar.gz crawl-ref-4277eaea5e02fb69d64193a0395357e2c346afdb.zip |
Add formatting fixes.
This mostly puts && and || on the proper lines, per the style guide.
Diffstat (limited to 'crawl-ref/source/actor.cc')
-rw-r--r-- | crawl-ref/source/actor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/actor.cc b/crawl-ref/source/actor.cc index 16e67aed3b..c42c9965d3 100644 --- a/crawl-ref/source/actor.cc +++ b/crawl-ref/source/actor.cc @@ -137,8 +137,8 @@ bool actor::can_hibernate(bool holi_only) const return (false); // The monster has slept recently. - if (atype() == ACT_MONSTER && - static_cast<const monsters*>(this)->has_ench(ENCH_SLEEP_WARY)) + if (atype() == ACT_MONSTER + && static_cast<const monsters*>(this)->has_ench(ENCH_SLEEP_WARY)) { return (false); } |