summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-03 13:01:25 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-03 13:01:25 +0100
commit7047b33b2768a838b2cea28f8738936c08f1d406 (patch)
tree27a0d4712509390031464a0d05d8eacdd53d2096 /crawl-ref/source/maps.cc
parente06bfaaf8641758a91ec5978d28a55b4697be788 (diff)
downloadcrawl-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/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index a335b767c9..cc9035343d 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -462,7 +462,7 @@ static bool _map_safe_vault_place(const map_def &map,
// If in Slime, don't let stairs end up next to minivaults,
// so that they don't possibly end up next to unsafe walls.
- if (player_in_branch(BRANCH_SLIME_PITS))
+ if (player_in_branch(BRANCH_SLIME))
{
for (adjacent_iterator ai(cp); ai; ++ai)
{