diff options
author | Neil Moore <neil@s-z.org> | 2012-08-01 16:09:16 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-08-01 17:08:37 -0400 |
commit | 1cc90225baf47270bbe2a22c1ecbbc839eaa2b90 (patch) | |
tree | bd8816720989c3d2193ccaa82cbca5f7b6f2deca /crawl-ref/source/place-info.cc | |
parent | a0a9240421e89e77aac6011671931521d7e60f0a (diff) | |
download | crawl-ref-1cc90225baf47270bbe2a22c1ecbbc839eaa2b90.tar.gz crawl-ref-1cc90225baf47270bbe2a22c1ecbbc839eaa2b90.zip |
Massive style fix (braces, indentation, etc.)
Diffstat (limited to 'crawl-ref/source/place-info.cc')
-rw-r--r-- | crawl-ref/source/place-info.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/place-info.cc b/crawl-ref/source/place-info.cc index cd3c41d3c1..531d19ae29 100644 --- a/crawl-ref/source/place-info.cc +++ b/crawl-ref/source/place-info.cc @@ -34,9 +34,9 @@ void PlaceInfo::assert_validity() const ASSERT(num_visits == 0 && levels_seen == 0 || num_visits > 0 && levels_seen > 0); - if (branch >= 0) // global data is -1 - if (brdepth[branch] != -1 && is_connected_branch(branch)) - ASSERT((int)levels_seen <= brdepth[branch]); + // global data is -1 + if (branch >= 0 && brdepth[branch] != -1 && is_connected_branch(branch)) + ASSERT((int)levels_seen <= brdepth[branch]); ASSERT(turns_total == (turns_explore + turns_travel + turns_interlevel + turns_resting + turns_other)); |