[Scummvm-git-logs] scummvm master -> 76ddbe7bd9109b7479d6f130caf061b3249754c9
sluicebox
22204938+sluicebox at users.noreply.github.com
Wed Sep 11 01:22:07 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
76ddbe7bd9 HDB: Fix empty string test
Commit: 76ddbe7bd9109b7479d6f130caf061b3249754c9
https://github.com/scummvm/scummvm/commit/76ddbe7bd9109b7479d6f130caf061b3249754c9
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2019-09-10T16:20:19-07:00
Commit Message:
HDB: Fix empty string test
Changed paths:
engines/hdb/ai-funcs.cpp
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index 0d6993b..414e7c4 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;
}
More information about the Scummvm-git-logs
mailing list