aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-27 07:45:18 +0530
committerEugene Sandulenko2019-09-03 17:17:02 +0200
commit36dd16e1a9ebab675a952296c5a77d58705c9a70 (patch)
treec58c59d2b5b163c35b01cf00afec7e3cce2a4204 /engines/hdb
parent0f4e637e2a1710b20bb535a6dca63e125695e624 (diff)
downloadscummvm-rg350-36dd16e1a9ebab675a952296c5a77d58705c9a70.tar.gz
scummvm-rg350-36dd16e1a9ebab675a952296c5a77d58705c9a70.tar.bz2
scummvm-rg350-36dd16e1a9ebab675a952296c5a77d58705c9a70.zip
HDB: Remove checkLuaList() stub
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/ai-bots.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp
index ff94ceee34..481b661c05 100644
--- a/engines/hdb/ai-bots.cpp
+++ b/engines/hdb/ai-bots.cpp
@@ -857,7 +857,11 @@ void aiMaintBotAction(AIEntity *e) {
break;
}
// Did the MaintBot use a LUA Tile?
- warning("STUB: aiMaintBotAction: Check in LUA List");
+ if (g_hdb->_ai->checkLuaList(e, nx, ny)) {
+ if (e->onScreen)
+ e->value1 = 1;
+ break;
+ }
break;
// Play a sound if we used something
case 25: