From 3f0ebaaa1846175fa18dda340a06bd70f0e6cc59 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 14 Nov 2006 14:58:41 +0000 Subject: Fixed the lock when leaving the menu svn-id: r24719 --- engines/gob/draw_v2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/gob/draw_v2.cpp') diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index b1c75a6955..aa25237e09 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -269,7 +269,7 @@ void Draw_v2::printText(void) { adjustCoords(0, &rectLeft, &rectTop); adjustCoords(2, &rectRight, &rectBottom); if (colId != -1) - _vm->_game->addNewCollision(colId & 0x0D000, rectLeft, rectTop, + _vm->_game->addNewCollision(colId + 0xD000, rectLeft, rectTop, rectRight, rectBottom, 2, 0, 0, 0); if (_word_2E8E2 != 2) printTextCentered(extraCmd & 0x0F, rectLeft + 4, rectTop + 4, @@ -357,7 +357,7 @@ void Draw_v2::printText(void) { rectBottom = destY + (int16)READ_LE_UINT16(ptr + 6); adjustCoords(2, &rectLeft, &rectTop); adjustCoords(2, &rectRight, &rectBottom); - _vm->_game->addNewCollision(colId & 0x0D000, rectLeft, rectTop, + _vm->_game->addNewCollision(colId + 0x0D000, rectLeft, rectTop, rectRight, rectBottom, 2, 0, 0, 0); ptr += 8; } -- cgit v1.2.3