diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/tilepuzzle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/tilepuzzle.cpp b/engines/lab/tilepuzzle.cpp index 792989a07c..fe37ee4d9e 100644 --- a/engines/lab/tilepuzzle.cpp +++ b/engines/lab/tilepuzzle.cpp @@ -312,7 +312,7 @@ void TilePuzzle::changeCombination(uint16 number) { display._width = _vm->_graphics->_screenWidth; display._height = _vm->_graphics->_screenHeight; - byte *buffer = new byte[_tiles[1]->_width * _tiles[1]->_height * 2]; + byte *buffer = new byte[_numberImages[1]->_width * _numberImages[1]->_height * 2]; for (int i = 1; i <= (_numberImages[combnum]->_height / 2); i++) { if (_vm->_isHiRes) { |