diff options
Diffstat (limited to 'engines/hdb/ai-funcs.cpp')
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 0d6993bc83..414e7c48c2 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -611,7 +611,7 @@ bool AI::useLuaEntity(const char *initName) { if (!scumm_stricmp(initName, e->entityName)) { e->aiUse(e); checkActionList(e, e->tileX, e->tileY, true); - if (e->luaFuncUse) + if (e->luaFuncUse[0]) g_hdb->_lua->callFunction(e->luaFuncUse, 0); return true; } |