diff options
Diffstat (limited to 'engines/scumm/boxes.cpp')
-rw-r--r-- | engines/scumm/boxes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/boxes.cpp b/engines/scumm/boxes.cpp index 359d04f65e..0fcbfd8f0e 100644 --- a/engines/scumm/boxes.cpp +++ b/engines/scumm/boxes.cpp @@ -1039,7 +1039,7 @@ void ScummEngine::createBoxMatrix() { // the boxes 7,8,9,10,11 the shortest way is to go via box 15. // See also getPathToDestBox. - byte *matrixStart = res.createResource(rtMatrix, 1, BOX_MATRIX_SIZE); + byte *matrixStart = _res->createResource(rtMatrix, 1, BOX_MATRIX_SIZE); const byte *matrixEnd = matrixStart + BOX_MATRIX_SIZE; #define addToMatrix(b) do { *matrixStart++ = (b); assert(matrixStart < matrixEnd); } while (0) |