diff options
author | elliptic <hyperelliptical@gmail.com> | 2012-08-22 16:09:25 -0400 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2012-08-22 18:28:30 -0400 |
commit | 49588e8b9b1c436404884013825e53e7a7797a96 (patch) | |
tree | 93aec56697de86122629b17c2c556ff61a116002 /crawl-ref/source/notes.cc | |
parent | 1edff79cf6d2283ac05c1d7c8d942f5efb4643d7 (diff) | |
download | crawl-ref-49588e8b9b1c436404884013825e53e7a7797a96.tar.gz crawl-ref-49588e8b9b1c436404884013825e53e7a7797a96.zip |
Add a milestone for the first time each branch is exited.
Only applies to branches with more than one level, so it shouldn't be too many
milestones. In order to get oplace to work correctly, the report_origin_level
argument to mark_milestone() was made slightly more flexible.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 68d59e7934..6d1dace109 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -428,7 +428,7 @@ void Note::check_milestone() const if (dep == 1) { mark_milestone(br == BRANCH_ZIGGURAT ? "zig.enter" : "br.enter", - "entered " + branch + ".", true); + "entered " + branch + ".", "parent"); } else if (dep == _dungeon_branch_depth(br) || dep == 14 || br == BRANCH_ZIGGURAT) |