diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-06 23:39:51 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-06 23:39:51 +0000 |
commit | dd25b1fc8889a8ecf1970ad4d0accba4850b49fe (patch) | |
tree | 0bea49e0f492a0219b4467a1f62cb6d3b5c00768 /crawl-ref/source/mapdef.cc | |
parent | 590e197da874d89defd085e799f8171c2880e8e3 (diff) | |
download | crawl-ref-dd25b1fc8889a8ecf1970ad4d0accba4850b49fe.tar.gz crawl-ref-dd25b1fc8889a8ecf1970ad4d0accba4850b49fe.zip |
Allow non-rectangular minivaults and branch entry vaults (use space padding).
They're still rectangular for collision detection with other vaults; that'll
need more effort to fix.
Space padding can also be used for regular vaults, but it'll be ignored at
the moment (but soon...! :-)).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1778 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index a4e6c6c777..fc6c0a62dc 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -1601,7 +1601,7 @@ void map_def::normalise() { // Minivaults are padded out with floor tiles, normal maps are // padded out with rock walls. - map.normalise(is_minivault()? '.' : 'x'); + map.normalise(' '); } std::string map_def::resolve() |