diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-02 12:55:25 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-02 12:58:24 +0200 |
commit | f0a8d25d5a7699db80c3d59d21fea5ff69c429f7 (patch) | |
tree | c3545d3d33a790cbeddd3fffd0f9f2f78950815f /crawl-ref/source/notes.cc | |
parent | 3e53fd852129a92837c65dbc73b0b18b730a6d06 (diff) | |
download | crawl-ref-f0a8d25d5a7699db80c3d59d21fea5ff69c429f7.tar.gz crawl-ref-f0a8d25d5a7699db80c3d59d21fea5ff69c429f7.zip |
Don't produce br.enter nor a note for the Abyss.
This was redundant with abyss.enter.
I had to add notes for volunarily entering the Abyss, but they are better
with a message mentioning this anyway.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index 40a9c3cb75..dc41edf551 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -84,7 +84,11 @@ static bool _is_noteworthy_dlevel(unsigned short place) const uint8_t branch = (place >> 8) & 0xFF; const int lev = (place & 0xFF); - // Special levels (Abyss, etc.) are always interesting. + // The Abyss is noted a different way (since we care mostly about the cause). + if (branch == BRANCH_ABYSS) + return (false); + + // Other portal levels are always interesting. if (!is_connected_branch(static_cast<branch_type>(branch))) return (true); |