summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/levcomp.lpp
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-08 18:32:07 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-08 18:32:07 +0000
commitebd601a9aaa29de811113c33ebe66cfae9a8b8c3 (patch)
treeda65da974c2a52ab2869b5874e659b82ba5f3702 /crawl-ref/source/util/levcomp.lpp
parent7c777d20a85b1a551a076195ce17194302a85563 (diff)
downloadcrawl-ref-ebd601a9aaa29de811113c33ebe66cfae9a8b8c3.tar.gz
crawl-ref-ebd601a9aaa29de811113c33ebe66cfae9a8b8c3.zip
Added ~ for maps to request a trap that's in-depth for the current level.
The no_pool_fixup tag will prevent dungeon.cc from helpfully converting random deep water squares to shallow water next to floor. Updated doc comments in .des files. Fixed lexer to accept ~ as part of a map definition. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@807 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/util/levcomp.lpp')
-rw-r--r--crawl-ref/source/util/levcomp.lpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/levcomp.lpp b/crawl-ref/source/util/levcomp.lpp
index ac9105077a..1c8f9b73af 100644
--- a/crawl-ref/source/util/levcomp.lpp
+++ b/crawl-ref/source/util/levcomp.lpp
@@ -64,7 +64,7 @@ NSPACE [^\ \t\r\n]
<MAPDEF>^#.*\r?\n ;
-<MAPDEF>[a-zA-Z_&0-9|$+.@^#()\[\]=<>{}%*\-?]* {
+<MAPDEF>[a-zA-Z_&0-9|$+.@^~#()\[\]=<>{}%*\-?]* {
settext();
return MAP_LINE;
}