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/dbg-maps.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/dbg-maps.cc')
-rw-r--r-- | crawl-ref/source/dbg-maps.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc index bc3a9c2671..951c8a470d 100644 --- a/crawl-ref/source/dbg-maps.cc +++ b/crawl-ref/source/dbg-maps.cc @@ -148,7 +148,7 @@ static vector<level_id> mg_dungeon_places() { vector<level_id> places; - for (int br = BRANCH_MAIN_DUNGEON; br < NUM_BRANCHES; ++br) + for (int br = BRANCH_DUNGEON; br < NUM_BRANCHES; ++br) { if (brdepth[br] == -1) continue; @@ -283,7 +283,7 @@ static void _write_mapgen_stats() } vector<level_id> mapless; - for (int i = BRANCH_MAIN_DUNGEON; i < NUM_BRANCHES; ++i) + for (int i = BRANCH_DUNGEON; i < NUM_BRANCHES; ++i) { if (brdepth[i] == -1) continue; |