mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
LAB: Fix crash in the the door number puzzle
This commit is contained in:
parent
1d3a3a24fa
commit
56c5919c3d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user