diff options
author | Max Horn | 2006-09-17 20:36:48 +0000 |
---|---|---|
committer | Max Horn | 2006-09-17 20:36:48 +0000 |
commit | 51017cf1b21f450acad9c735e9364f5bb5d35f17 (patch) | |
tree | c61007341218b4522350f23cf646a2376b0bf3be /engines/scumm/boxes.cpp | |
parent | 8c0b0c012007d938ab500c5ccc64f6e0cbcf13e0 (diff) | |
download | scummvm-rg350-51017cf1b21f450acad9c735e9364f5bb5d35f17.tar.gz scummvm-rg350-51017cf1b21f450acad9c735e9364f5bb5d35f17.tar.bz2 scummvm-rg350-51017cf1b21f450acad9c735e9364f5bb5d35f17.zip |
Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
svn-id: r23922
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) |