diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-31 07:18:49 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-31 07:18:49 +0000 |
commit | cbb27657c4f78a047374b9ab37ba6f420bee392c (patch) | |
tree | e1cfc16b9fda460a6578c7bc21b0b200ed4b3da1 | |
parent | bea976d08dce60216db7a422aa6dc687c55860d7 (diff) | |
download | crawl-ref-cbb27657c4f78a047374b9ab37ba6f420bee392c.tar.gz crawl-ref-cbb27657c4f78a047374b9ab37ba6f420bee392c.zip |
Fix branch end milestones not being generated in 0.5.1.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@10466 c06c8d41-db1a-0410-9941-cceddc491573
-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 999f60167d..514ae55f24 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -442,7 +442,7 @@ void Note::check_milestone() const if (dep == 1) mark_milestone("enter", "entered " + branch + "."); - else if (dep == _dungeon_branch_depth(br && br != BRANCH_HIVE)) + else if (dep == _dungeon_branch_depth(br) && br != BRANCH_HIVE) { std::string level = place_name(packed_place, true, true); if (level.find("Level ") == 0) |