aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-24 02:35:26 +0530
committerEugene Sandulenko2019-09-03 17:16:58 +0200
commit043cd2e129b1b183f70410368190d19986e72ac9 (patch)
tree34f5b5f167a1c1b3d3c41bd7fbcfcfa76fe0d602 /engines/hdb
parent8e099fdc2d526a37c543db366ebb626017b64237 (diff)
downloadscummvm-rg350-043cd2e129b1b183f70410368190d19986e72ac9.tar.gz
scummvm-rg350-043cd2e129b1b183f70410368190d19986e72ac9.tar.bz2
scummvm-rg350-043cd2e129b1b183f70410368190d19986e72ac9.zip
HDB: Remove addToActionList() stub
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/map-loader.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/hdb/map-loader.cpp b/engines/hdb/map-loader.cpp
index 17da352e27..053ef6e823 100644
--- a/engines/hdb/map-loader.cpp
+++ b/engines/hdb/map-loader.cpp
@@ -474,7 +474,13 @@ bool Map::load(Common::SeekableReadStream *stream) {
case INFO_ACTION18:
case INFO_ACTION19:
case INFO_ACTION20:
- warning("STUB: Map::load: AddToActionList required");
+ g_hdb->_ai->addToActionList(
+ aiInfo[_iconList[i].icon].type - INFO_ACTION1,
+ _iconList[i].x,
+ _iconList[i].y,
+ _iconList[i].funcInit,
+ _iconList[i].funcUse
+ );
break;
case INFO_ACTION_AUTO:
warning("STUB: Map::load: AddToAutoList required");