aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-27 22:39:37 -0400
committerPaul Gilbert2014-08-27 22:39:37 -0400
commit5abe5b89932adfcc705beb7529d323aa15a85bbd (patch)
tree8d6f97fd821c8074d8589b0cb849702189581ff6 /engines
parent3bbec487a53243464030fe1946f833971d6e14c0 (diff)
downloadscummvm-rg350-5abe5b89932adfcc705beb7529d323aa15a85bbd.tar.gz
scummvm-rg350-5abe5b89932adfcc705beb7529d323aa15a85bbd.tar.bz2
scummvm-rg350-5abe5b89932adfcc705beb7529d323aa15a85bbd.zip
ACCESS: Fix loading of room playfield data
Diffstat (limited to 'engines')
-rw-r--r--engines/access/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp
index a33bc76e66..b9a07ea2ed 100644
--- a/engines/access/room.cpp
+++ b/engines/access/room.cpp
@@ -344,7 +344,7 @@ void Room::loadPlayField(int fileNum, int subfile) {
playData->_stream->read(_playField, _matrixSize);
// Load the plotter data
- int numWalls = READ_LE_UINT16(playData + 6);
+ int numWalls = READ_LE_UINT16(&header[6]);
int numBlocks = header[8];
_plotter.load(playData->_stream, numWalls, numBlocks);