summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-util.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-12-04 04:53:55 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-12-05 16:23:46 +0100
commit3cfba31e6efa38025156ee5a3a0ea006c85b5b6b (patch)
tree1a26f470e0ffac5ed8135c18886051d2f9b1632e /crawl-ref/source/dbg-util.cc
parent9d7c2e8983cbe3e913a26016327e49e9bd189ca3 (diff)
downloadcrawl-ref-3cfba31e6efa38025156ee5a3a0ea006c85b5b6b.tar.gz
crawl-ref-3cfba31e6efa38025156ee5a3a0ea006c85b5b6b.zip
Indentation fixes.
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r--crawl-ref/source/dbg-util.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc
index 2249f39f8a..6cafc7bcc7 100644
--- a/crawl-ref/source/dbg-util.cc
+++ b/crawl-ref/source/dbg-util.cc
@@ -201,18 +201,18 @@ void debug_dump_mon(const monster* mon, bool recurse)
}
else if (in_bounds(mon->target))
{
- target = mgrd(mon->target);
-
- if (target == NON_MONSTER)
- fprintf(stderr, "nothing");
- else if (target == midx)
- fprintf(stderr, "improperly linked self");
- else if (target == mon->foe)
- fprintf(stderr, "same as foe");
- else if (invalid_monster_index(target))
- fprintf(stderr, "invalid monster index %d", target);
- else
- fprintf(stderr, "%s", debug_mon_str(&menv[target]).c_str());
+ target = mgrd(mon->target);
+
+ if (target == NON_MONSTER)
+ fprintf(stderr, "nothing");
+ else if (target == midx)
+ fprintf(stderr, "improperly linked self");
+ else if (target == mon->foe)
+ fprintf(stderr, "same as foe");
+ else if (invalid_monster_index(target))
+ fprintf(stderr, "invalid monster index %d", target);
+ else
+ fprintf(stderr, "%s", debug_mon_str(&menv[target]).c_str());
}
else
fprintf(stderr, "<OoB>");