diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-30 10:55:11 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-30 11:29:12 +0100 |
commit | 8c8e062020b65bf41f40e13daf78d44bde060d63 (patch) | |
tree | 3519cec3c298b091a5054991ec032ec92b7151eb /crawl-ref/source/luaterp.cc | |
parent | 5b1a28616877a2f8f3b1b2562c02fca645fcc99f (diff) | |
download | crawl-ref-8c8e062020b65bf41f40e13daf78d44bde060d63.tar.gz crawl-ref-8c8e062020b65bf41f40e13daf78d44bde060d63.zip |
Initialize __echo in lua interpreter.
Diffstat (limited to 'crawl-ref/source/luaterp.cc')
-rw-r--r-- | crawl-ref/source/luaterp.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/luaterp.cc b/crawl-ref/source/luaterp.cc index 8eeae9fe39..6e6fcad3d6 100644 --- a/crawl-ref/source/luaterp.cc +++ b/crawl-ref/source/luaterp.cc @@ -120,10 +120,9 @@ void run_clua_interpreter(lua_State *ls) lua_insert(ls, 1); if (lua_pcall(ls, lua_gettop(ls) - 1, 0, 0) != 0) { - mprf(MSGCH_ERROR, "error calling crawl.mpr (%s)", + mprf(MSGCH_ERROR, "error calling __echo (%s)", lua_tostring(ls, -1)); } -// mpr("got return values"); } } lua_settop(ls, 0); // clear stack |