diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-02 03:50:54 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-02 04:31:59 +0200 |
commit | 718399ee316f75a1f471a4878ae7e34424a7e7fa (patch) | |
tree | cad00952fbe6bdf4edc0c1080b828daedab25ef6 /crawl-ref/source/notes.cc | |
parent | 7cd5a58682c59923555cb4e57b6bb1fe97ef8dfe (diff) | |
download | crawl-ref-718399ee316f75a1f471a4878ae7e34424a7e7fa.tar.gz crawl-ref-718399ee316f75a1f471a4878ae7e34424a7e7fa.zip |
Suppress the normal milestone for wizlabs.
They have a customized one in lua.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 9dfde91680..95988dd3b7 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -447,7 +447,8 @@ void Note::check_milestone() const const int br = place_branch(packed_place), dep = place_depth(packed_place); - if (br != -1) + // Wizlabs report their milestones on their own. + if (br != -1 && br != BRANCH_WIZLAB) { ASSERT(br >= 0 && br < NUM_BRANCHES); std::string branch = place_name(packed_place, true, false).c_str(); |