aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-25 00:35:03 +0530
committerEugene Sandulenko2019-09-03 17:16:59 +0200
commitb9b19478942727f84e42df81295b61fff322780d (patch)
tree598ce1db957269cc5085643339c053ed4c685ab0 /engines
parent1bfa1c1d0e82dec80177e39aed0f7c2885ecaac4 (diff)
downloadscummvm-rg350-b9b19478942727f84e42df81295b61fff322780d.tar.gz
scummvm-rg350-b9b19478942727f84e42df81295b61fff322780d.tar.bz2
scummvm-rg350-b9b19478942727f84e42df81295b61fff322780d.zip
HDB: Remove addToPathList stubs
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/map-loader.cpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/engines/hdb/map-loader.cpp b/engines/hdb/map-loader.cpp
index 25ff4ea6e2..c8a31f5364 100644
--- a/engines/hdb/map-loader.cpp
+++ b/engines/hdb/map-loader.cpp
@@ -445,13 +445,28 @@ bool Map::load(Common::SeekableReadStream *stream) {
);
break;
case INFO_ARROW_4WAY:
- warning("STUB: Map::load: AddToPathList required");
+ g_hdb->_ai->addToPathList(
+ _iconList[i].x,
+ _iconList[i].y,
+ 2,
+ aiInfo[_iconList[i].icon].dir
+ );
break;
case INFO_ARROW_TURN:
- warning("STUB: Map::load: AddToPathList required");
+ g_hdb->_ai->addToPathList(
+ _iconList[i].x,
+ _iconList[i].y,
+ 1,
+ aiInfo[_iconList[i].icon].dir
+ );
break;
case INFO_ARROW_STOP:
- warning("STUB: Map::load: AddToPathList required");
+ g_hdb->_ai->addToPathList(
+ _iconList[i].x,
+ _iconList[i].y,
+ 0,
+ aiInfo[_iconList[i].icon].dir
+ );
break;
case INFO_ACTION1: