diff options
-rw-r--r-- | scumm/boxes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp index 6098cfce38..8148c1ff8b 100644 --- a/scumm/boxes.cpp +++ b/scumm/boxes.cpp @@ -627,7 +627,7 @@ void Scumm::createBoxMatrix() _maxBoxVertexHeap = 1000; createResource(rtMatrix, 4, _maxBoxVertexHeap); _boxPathVertexHeap = getResourceAddress(rtMatrix, 4); - _boxPathVertexHeapIndex = 1; + _boxPathVertexHeapIndex = _boxMatrixItem = 0; // Temporary 64*65 distance matrix createResource(rtMatrix, 3, 65 * 64); |