summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 02f4a6c69e..d7e525da6c 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -587,10 +587,6 @@ bool CLua::callfn(const char *fn, int nargs, int nret)
return !err;
}
-// Defined in kills.cc because the kill bindings refer to kills.cc local
-// structs
-extern void luaopen_kills(lua_State *ls);
-
void CLua::init_lua()
{
if (_state)
@@ -610,7 +606,7 @@ void CLua::init_lua()
luaopen_math(_state);
// Open Crawl bindings
- luaopen_kills(_state);
+ cluaopen_kills(_state);
cluaopen_you(_state);
cluaopen_item(_state);
cluaopen_food(_state);