Skip to content
Permalink
Browse files

HDB: Fix empty string test

  • Loading branch information...
sluicebox committed Sep 10, 2019
1 parent d8820de commit 76ddbe7bd9109b7479d6f130caf061b3249754c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit 76ddbe7

Please sign in to comment.
You can’t perform that action at this time.