From d8cf201ae751665ed0e2f4d62c9b24fb7e866aa9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 18 Jun 2019 00:39:40 +0200 Subject: HDB: Fixed order of msmHeader --- engines/hdb/map-loader.cpp | 4 ++-- 1 file 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, -- cgit v1.2.3