aboutsummaryrefslogtreecommitdiff
path: root/scumm/boxes.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-30 20:31:36 +0000
committerMax Horn2002-12-30 20:31:36 +0000
commita54d2d4a9ff66bc4784b1ed626474d21a92f5e4b (patch)
tree16a7960d73b9f2af44a38e962d3dc44acd6147cb /scumm/boxes.cpp
parent6038bb85be8fb7e3e96c939aa0aa853d04106852 (diff)
downloadscummvm-rg350-a54d2d4a9ff66bc4784b1ed626474d21a92f5e4b.tar.gz
scummvm-rg350-a54d2d4a9ff66bc4784b1ed626474d21a92f5e4b.tar.bz2
scummvm-rg350-a54d2d4a9ff66bc4784b1ed626474d21a92f5e4b.zip
hopefully this fixes the box regression
svn-id: r6282
Diffstat (limited to 'scumm/boxes.cpp')
-rw-r--r--scumm/boxes.cpp2
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);