diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-03 13:01:25 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-03 13:01:25 +0100 |
commit | 7047b33b2768a838b2cea28f8738936c08f1d406 (patch) | |
tree | 27a0d4712509390031464a0d05d8eacdd53d2096 /crawl-ref/source/notes.cc | |
parent | e06bfaaf8641758a91ec5978d28a55b4697be788 (diff) | |
download | crawl-ref-7047b33b2768a838b2cea28f8738936c08f1d406.tar.gz crawl-ref-7047b33b2768a838b2cea28f8738936c08f1d406.zip |
Shorten branch enums.
Seriously, even preparing this commit gave me a pain in the triangle between
the thumb and index finger's bases and the wrist.
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r-- | crawl-ref/source/notes.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc index d08bb06314..db133d7763 100644 --- a/crawl-ref/source/notes.cc +++ b/crawl-ref/source/notes.cc @@ -85,9 +85,9 @@ static bool _is_noteworthy_dlevel(unsigned short place) return true; return (lev == _dungeon_branch_depth(branch) - || branch == BRANCH_MAIN_DUNGEON && (lev % 5) == 0 - || branch == BRANCH_MAIN_DUNGEON && lev == RUNE_LOCK_DEPTH + 1 - || branch != BRANCH_MAIN_DUNGEON && lev == 1); + || branch == BRANCH_DUNGEON && (lev % 5) == 0 + || branch == BRANCH_DUNGEON && lev == RUNE_LOCK_DEPTH + 1 + || branch != BRANCH_DUNGEON && lev == 1); } // Is a note worth taking? |