summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/maps.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r--crawl-ref/source/maps.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc
index ef37d6c1b5..a41fc4ce88 100644
--- a/crawl-ref/source/maps.cc
+++ b/crawl-ref/source/maps.cc
@@ -125,9 +125,9 @@ static int write_vault(map_def &mdef,
place, check_place);
if (place.orient != MAP_NONE)
- break;
+ return (place.orient);
}
- return (place.orient);
+ return (MAP_NONE);
}
static bool resolve_map_lua(map_def &map)