From 8c8e062020b65bf41f40e13daf78d44bde060d63 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Fri, 30 Oct 2009 10:55:11 +0100 Subject: Initialize __echo in lua interpreter. --- crawl-ref/source/luaterp.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/luaterp.cc') 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 -- cgit v1.2.3-54-g00ecf