summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc2
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)