diff options
Diffstat (limited to 'engines/hdb/map-loader.cpp')
-rw-r--r-- | engines/hdb/map-loader.cpp | 21 |
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: |