From 3d36ad3e677a75f48018336b04d5137b33cbcfb9 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Thu, 16 Jul 2009 15:00:46 +0000 Subject: Fixed loading the location's walking map index (needed to subtract 1). svn-id: r42534 --- engines/draci/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/draci/game.cpp') 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(); -- cgit v1.2.3