diff options
author | Denis Kasak | 2009-07-16 15:00:46 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-16 15:00:46 +0000 |
commit | 3d36ad3e677a75f48018336b04d5137b33cbcfb9 (patch) | |
tree | 975db57c4f2369a349f19cbb8b55bdcef5f1e632 | |
parent | 1bf574aaa9e956bf6f6bcf730382a5f7967f2aa6 (diff) | |
download | scummvm-rg350-3d36ad3e677a75f48018336b04d5137b33cbcfb9.tar.gz scummvm-rg350-3d36ad3e677a75f48018336b04d5137b33cbcfb9.tar.bz2 scummvm-rg350-3d36ad3e677a75f48018336b04d5137b33cbcfb9.zip |
Fixed loading the location's walking map index (needed to subtract 1).
svn-id: r42534
-rw-r--r-- | engines/draci/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index c75b1df503..e7bafa17ee 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -157,7 +157,7 @@ void Game::loadRoom(int roomNum) { roomReader.readUint32LE(); // Pointer to room title, not used _currentRoom._music = roomReader.readByte(); - _currentRoom._map = roomReader.readByte(); + _currentRoom._map = roomReader.readByte() - 1; _currentRoom._palette = roomReader.readByte() - 1; _currentRoom._numMasks = roomReader.readSint16LE(); _currentRoom._init = roomReader.readSint16LE(); |