diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-06 18:42:17 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-12-06 18:42:17 +1000 |
commit | d301b53bfcffcd69c5830c6e440b97c66d37b4ce (patch) | |
tree | 1ee6e9643fd61e04985336cfa6d6b887768aee5e /crawl-ref/source/l_dgn.cc | |
parent | d8e6385908a20759971c30898b5b52da811cbd00 (diff) | |
download | crawl-ref-d301b53bfcffcd69c5830c6e440b97c66d37b4ce.tar.gz crawl-ref-d301b53bfcffcd69c5830c6e440b97c66d37b4ce.zip |
Temporary hack to make set_border_fill_type work.
See the comment in l_dgn.cc:dgn_set_border_fill_type. Should be replaced
with something that works on map_lines instead, but this will do for the
meantime.
Diffstat (limited to 'crawl-ref/source/l_dgn.cc')
-rw-r--r-- | crawl-ref/source/l_dgn.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/l_dgn.cc b/crawl-ref/source/l_dgn.cc index 9daa433332..b7891b2c7f 100644 --- a/crawl-ref/source/l_dgn.cc +++ b/crawl-ref/source/l_dgn.cc @@ -928,6 +928,10 @@ bool _valid_border_feat (dungeon_feature_type feat) || feat == DNGN_SHALLOW_WATER || feat == DNGN_FLOOR)); } +// XXX: Currently, this is hacked so that map_def->border_fill_type is marsalled +// when the maps are stored. This relies on the individual map Lua prelude +// being executed whenever maps are loaded and verified, which means that +// the next time the map is loaded, border_fill_type is already stored. static int lua_dgn_set_border_fill_type (lua_State *ls) { MAP(ls, 1, map); |