From dd25b1fc8889a8ecf1970ad4d0accba4850b49fe Mon Sep 17 00:00:00 2001 From: dshaligram Date: Fri, 6 Jul 2007 23:39:51 +0000 Subject: 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 --- crawl-ref/source/util/levcomp.lpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/util/levcomp.lpp') 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] %% -^\s*ENDMAP { BEGIN(INITIAL); } +^\s*ENDMAP[ ]* { BEGIN(INITIAL); } -^[^ \r\n\t]+ { - settext(); +^[^\r\n\t]+ { + settext(true); return MAP_LINE; } -- cgit v1.2.3-54-g00ecf