aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-22 06:21:10 +0530
committerEugene Sandulenko2019-09-03 17:16:55 +0200
commit00f125e7bdfd3414053bfc99347ff5eba2ee84d5 (patch)
tree47af689addb7c04e54c70c5ddf914dcce8fe9673
parentdd6f33592500d35038ecd930cf7a34b292fa6edc (diff)
downloadscummvm-rg350-00f125e7bdfd3414053bfc99347ff5eba2ee84d5.tar.gz
scummvm-rg350-00f125e7bdfd3414053bfc99347ff5eba2ee84d5.tar.bz2
scummvm-rg350-00f125e7bdfd3414053bfc99347ff5eba2ee84d5.zip
HDB: Unstub checkAutoList() from C_USEENTITY
-rw-r--r--engines/hdb/ai-cinematic.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp
index 8706981129..b9a55a51f9 100644
--- a/engines/hdb/ai-cinematic.cpp
+++ b/engines/hdb/ai-cinematic.cpp
@@ -215,7 +215,10 @@ void AI::processCines() {
}
}
warning("STUB: PROCESSCINES: USEENTITY: CheckActionList required;");
- warning("STUB: PROCESSCINES: USEENTITY: CheckAutoList required;");
+ for (int i = 0;i < kMaxAutoActions;i++) {
+ if (Common::matchString(_autoActions[i]->entityName, _cine[i]->string) && !_autoActions[i]->activated)
+ checkAutoList(&_dummyPlayer, _autoActions[i]->x, _autoActions[i]->y);
+ }
complete = true;
break;
case C_FADEIN: