aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/map-loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/map-loader.cpp b/engines/hdb/map-loader.cpp
index 1142fedb15..c6de98e148 100644
--- a/engines/hdb/map-loader.cpp
+++ b/engines/hdb/map-loader.cpp
@@ -62,9 +62,9 @@ bool Map::load(Common::SeekableReadStream *stream) {
_backgroundOffset = stream->readUint32LE();
_foregroundOffset = stream->readUint32LE();
_iconNum = stream->readUint16LE();
+ _infoNum = stream->readUint16LE(); // not used in the original
_iconListOffset = stream->readUint32LE();
- _infoNum = stream->readUint16LE();
- _infoListOffset = stream->readUint32LE();
+ _infoListOffset = stream->readUint32LE(); // not used in the original
debug(5, "map: w: %d(%x), h: %d(%x) bg: %x fg: %x icon#: %d(%x) icon: %x info#: %d(%x) info: %x",
_width, _width, _height, _height, _backgroundOffset, _foregroundOffset, _iconNum, _iconNum,