summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dlua.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-20 00:05:15 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-20 00:44:30 +0200
commita4f9da4c2defdeedba6e172d8c8538f4b1aefe78 (patch)
tree4b381ac5f0ed89bde61acb72472d5a518cc968b7 /crawl-ref/source/dlua.cc
parentfac213f26779fde815580d9c06ea3db367f50942 (diff)
downloadcrawl-ref-a4f9da4c2defdeedba6e172d8c8538f4b1aefe78.tar.gz
crawl-ref-a4f9da4c2defdeedba6e172d8c8538f4b1aefe78.zip
Move part of dgn_lib out to l_dgnevt.cc.
Diffstat (limited to 'crawl-ref/source/dlua.cc')
-rw-r--r--crawl-ref/source/dlua.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/dlua.cc b/crawl-ref/source/dlua.cc
index 3fbb628d77..0775c2635d 100644
--- a/crawl-ref/source/dlua.cc
+++ b/crawl-ref/source/dlua.cc
@@ -307,6 +307,7 @@ void init_dungeon_lua()
lua_stack_cleaner clean(dlua);
luaL_openlib(dlua, "dgn", dgn_lib, 0);
+ luaL_openlib(dlua, "dgn", dgn_event_lib, 0);
// Add additional function to the Crawl module.
luaL_openlib(dlua, "crawl", crawl_lib, 0);
luaL_openlib(dlua, "file", file_lib, 0);