aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
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: