From 5abe5b89932adfcc705beb7529d323aa15a85bbd Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 27 Aug 2014 22:39:37 -0400 Subject: ACCESS: Fix loading of room playfield data --- engines/access/room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3