HDB: Added more debug output to script compilation

This commit is contained in:
Eugene Sandulenko 2019-07-16 21:44:57 +02:00
parent ea2f09b256
commit e0cb401bc2

View File

@ -2025,6 +2025,11 @@ void LuaScript::addPatches(Common::String &chunk, const char *scriptName) {
if (applied)
debug(1, "Applied %d patches to %s", applied, scriptName);
if (gDebugLevel > 3) {
warning(">>>>>>>>>>> SCRIPT: %s", scriptName);
chunk += "\nfor i,v in pairs(_G) do if type(v) == 'function' then print(i) end end";
}
}
void LuaScript::checkParameters(const char *func, int params) {