summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-03-09 23:02:24 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-03-09 23:03:28 +0100
commitdc1e94bae81d16227d0eb462e782f6b78f7cdb8e (patch)
tree1863b7ef0c6bcf95b2472cdde5b06d9620cc47cc /crawl-ref/source/chardump.cc
parentcf806e44bca1a31f5d645f5089dff2fae923ac28 (diff)
downloadcrawl-ref-dc1e94bae81d16227d0eb462e782f6b78f7cdb8e.tar.gz
crawl-ref-dc1e94bae81d16227d0eb462e782f6b78f7cdb8e.zip
Don't spam Sprint dumps about having visited 1 branch of the dungeon.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc
index a10cc5f11f..ce6a623a52 100644
--- a/crawl-ref/source/chardump.cc
+++ b/crawl-ref/source/chardump.cc
@@ -347,8 +347,11 @@ static void _sdump_visits(dump_params &par)
have.c_str(), (int)branches_visited.size());
if (branches_visited.size() != 1)
text += "es";
- text += make_stringf(" of the dungeon, and %s %d of its levels.\n",
- seen.c_str(), branches_total.levels_seen);
+ if (brdepth[root_branch] > 1 || branches_visited.size() != 1)
+ {
+ text += make_stringf(" of the dungeon, and %s %d of its levels.\n",
+ seen.c_str(), branches_total.levels_seen);
+ }
PlaceInfo place_info = you.get_place_info(BRANCH_PANDEMONIUM);
if (place_info.num_visits > 0)