summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/levcomp.lpp
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-30 20:32:41 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-30 20:32:41 +1000
commit941444076c26e5e5149c6368a4261d60842fe3ec (patch)
treef65e3e46138ecbe847cd10daf9fe021d15cd5398 /crawl-ref/source/util/levcomp.lpp
parent7344fbfdf965f22284ac3ad73057d89643eeac9c (diff)
downloadcrawl-ref-941444076c26e5e5149c6368a4261d60842fe3ec.tar.gz
crawl-ref-941444076c26e5e5149c6368a4261d60842fe3ec.zip
Convert dgn.set_border_fill_type to BORDER.
The Lua prelude of maps isn't executed early enough now. Using 'BORDER' sets map->border_fill_type as soon as the map is read, rather than after it is placed. This commit increases the value of MAP_CACHE_VERSION. Can be reverted if it causes issues or is unwanted.
Diffstat (limited to 'crawl-ref/source/util/levcomp.lpp')
-rw-r--r--crawl-ref/source/util/levcomp.lpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/util/levcomp.lpp b/crawl-ref/source/util/levcomp.lpp
index 151ef1418e..10db92e912 100644
--- a/crawl-ref/source/util/levcomp.lpp
+++ b/crawl-ref/source/util/levcomp.lpp
@@ -249,6 +249,7 @@ LFLOORCOL: { CBEGIN(ARGUMENT); return LFLOORCOL; }
LROCKCOL: { CBEGIN(ARGUMENT); return LROCKCOL; }
LFLOORTILE: { CBEGIN(ARGUMENT); return LFLOORTILE; }
LROCKTILE: { CBEGIN(ARGUMENT); return LROCKTILE; }
+BORDER: { CBEGIN(ARGUMENT); return BORDER; }
FTILE: { CBEGIN(ITEM_LIST); return FTILE; }
RTILE: { CBEGIN(ITEM_LIST); return RTILE; }
MONS: { CBEGIN(MNAME); return MONS; }