aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-19 19:17:24 +0530
committerEugene Sandulenko2019-09-03 17:17:24 +0200
commit9e1f792751eeba9606a566447d1a7ac6008fb65a (patch)
treeba4c300893eaba2e824e73e6f04159d5f008bfdc /engines
parent72dbb6074dc3f9f8537a9d98596bb0a4298c7a8c (diff)
downloadscummvm-rg350-9e1f792751eeba9606a566447d1a7ac6008fb65a.tar.gz
scummvm-rg350-9e1f792751eeba9606a566447d1a7ac6008fb65a.tar.bz2
scummvm-rg350-9e1f792751eeba9606a566447d1a7ac6008fb65a.zip
HDB: Differentiate Debug messages
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/lua-script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index f9e84520fa..cb551767be 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -1872,7 +1872,7 @@ bool LuaScript::callFunction(const char *name, int returns) {
lua_getglobal(_state, name);
if (lua_pcall(_state, 0, returns, -2)) {
- error("An error occured while executing \"%s\": %s.", name, lua_tostring(_state, -1));
+ error("callFunction: An error occured while executing \"%s\": %s.", name, lua_tostring(_state, -1));
lua_pop(_state, -1);
return false;
@@ -1990,7 +1990,7 @@ bool LuaScript::executeChunk(Common::String &chunk, const Common::String &chunkN
// Execute Chunk
if (lua_pcall(_state, 0, 0, -2)) {
- error("An error occured while executing \"%s\": %s.", chunkName.c_str(), lua_tostring(_state, -1));
+ error("executeChunk: An error occured while executing \"%s\": %s.", chunkName.c_str(), lua_tostring(_state, -1));
lua_pop(_state, -1);
return false;