summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-19 06:11:33 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-19 06:11:33 +0000
commitc4efb2d532ec02fb2f351002f5ad9ed38ef8a371 (patch)
treefee74d63d383344e869e5c0565611f9e8d1f80ea /crawl-ref/source/dungeon.cc
parentd8942ba7fea6c6196daf24190bee72566683f56d (diff)
downloadcrawl-ref-c4efb2d532ec02fb2f351002f5ad9ed38ef8a371.tar.gz
crawl-ref-c4efb2d532ec02fb2f351002f5ad9ed38ef8a371.zip
Fix compilation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7277 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 359ae7a35a..ac83dca08d 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -8095,6 +8095,7 @@ static bool _fixup_interlevel_connectivity()
case DNGN_STONE_STAIRS_UP_I:
case DNGN_STONE_STAIRS_UP_II:
case DNGN_STONE_STAIRS_UP_III:
+ {
int idx = feat - DNGN_STONE_STAIRS_UP_I;
if (up_region[idx] == -1)
{
@@ -8108,6 +8109,7 @@ static bool _fixup_interlevel_connectivity()
return (false);
}
break;
+ }
default:
break;
}