From c4efb2d532ec02fb2f351002f5ad9ed38ef8a371 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 19 Oct 2008 06:11:33 +0000 Subject: Fix compilation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7277 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/dungeon.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/dungeon.cc') 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; } -- cgit v1.2.3-54-g00ecf