summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mapdef.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-15 13:45:40 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-15 14:43:13 -0600
commit41433f0fcd2501fbaf8c75c8e69c1ad75aa36d8d (patch)
treef6266699e2f2118291d805451dafb1661c87c479 /crawl-ref/source/mapdef.h
parentdc07b5ecc06bef2ef2596b09cc4e4297cc5649f9 (diff)
downloadcrawl-ref-41433f0fcd2501fbaf8c75c8e69c1ad75aa36d8d.tar.gz
crawl-ref-41433f0fcd2501fbaf8c75c8e69c1ad75aa36d8d.zip
Check for exits from maps at DB generation time.
This should prevent this from cropping up as often as it does.
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r--crawl-ref/source/mapdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h
index 43e44fc568..4ba7cf1bdd 100644
--- a/crawl-ref/source/mapdef.h
+++ b/crawl-ref/source/mapdef.h
@@ -1300,6 +1300,7 @@ private:
string rewrite_chunk_errors(const string &s) const;
string apply_subvault(string_spec &);
string validate_map_placeable();
+ bool has_exit(bool &floating) const;
};
const int CHANCE_ROLL = 10000;