summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/levcomp.lpp
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-06 23:39:51 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-06 23:39:51 +0000
commitdd25b1fc8889a8ecf1970ad4d0accba4850b49fe (patch)
tree0bea49e0f492a0219b4467a1f62cb6d3b5c00768 /crawl-ref/source/util/levcomp.lpp
parent590e197da874d89defd085e799f8171c2880e8e3 (diff)
downloadcrawl-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/util/levcomp.lpp')
-rw-r--r--crawl-ref/source/util/levcomp.lpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/util/levcomp.lpp b/crawl-ref/source/util/levcomp.lpp
index b4010596c5..6ec10124ad 100644
--- a/crawl-ref/source/util/levcomp.lpp
+++ b/crawl-ref/source/util/levcomp.lpp
@@ -81,10 +81,10 @@ NSPACE [^\ \t\r\n]
%%
-<MAPDEF>^\s*ENDMAP { BEGIN(INITIAL); }
+<MAPDEF>^\s*ENDMAP[ ]* { BEGIN(INITIAL); }
-<MAPDEF>^[^ \r\n\t]+ {
- settext();
+<MAPDEF>^[^\r\n\t]+ {
+ settext(true);
return MAP_LINE;
}