diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-20 18:53:40 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-20 18:53:40 +0000 |
commit | f1d9756f8c577019f9446fbf22cec49d41babd28 (patch) | |
tree | f37ea2ea8086aa331978e151e336bb9c77cc97b4 /crawl-ref/source/mapmark.cc | |
parent | 683599a4fa6300d6517c0f75d60c028bd62136cc (diff) | |
download | crawl-ref-f1d9756f8c577019f9446fbf22cec49d41babd28.tar.gz crawl-ref-f1d9756f8c577019f9446fbf22cec49d41babd28.zip |
Spadework for ziggurats and other multilevel portal vaults.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7520 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapmark.cc')
-rw-r--r-- | crawl-ref/source/mapmark.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapmark.cc b/crawl-ref/source/mapmark.cc index ecbed091e3..269b973cbf 100644 --- a/crawl-ref/source/mapmark.cc +++ b/crawl-ref/source/mapmark.cc @@ -170,7 +170,7 @@ map_lua_marker::map_lua_marker(const lua_datum &fn) { lua_stack_cleaner clean(dlua); fn.push(); - if (!dlua.callfn("dgn_run_map", 1, 1)) + if (fn.is_function() && !dlua.callfn("dgn_run_map", 1, 1)) mprf(MSGCH_ERROR, "lua_marker exec error: %s", dlua.error.c_str()); else check_register_table(); |