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.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index 3bde493572..f827cd7926 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -340,8 +340,9 @@ Note::Note( NOTE_TYPES t, int f, int s, const char* n, const char* d ) :
packed_place = get_packed_place();
}
-void Note::check_milestone() const {
-#ifdef MILESTONES
+void Note::check_milestone() const
+{
+#ifdef DGL_MILESTONES
if (type == NOTE_DUNGEON_LEVEL_CHANGE) {
const int br = place_branch(packed_place),
dep = place_depth(packed_place);