diff options
author | Sven Hesse | 2006-11-14 14:58:41 +0000 |
---|---|---|
committer | Sven Hesse | 2006-11-14 14:58:41 +0000 |
commit | 3f0ebaaa1846175fa18dda340a06bd70f0e6cc59 (patch) | |
tree | f223eb3daecb766f5124c2cacd737b8bbdff7942 /engines/gob/draw_v2.cpp | |
parent | 53faadfdb6cc98e07cdd291c68140ed36bb8f79b (diff) | |
download | scummvm-rg350-3f0ebaaa1846175fa18dda340a06bd70f0e6cc59.tar.gz scummvm-rg350-3f0ebaaa1846175fa18dda340a06bd70f0e6cc59.tar.bz2 scummvm-rg350-3f0ebaaa1846175fa18dda340a06bd70f0e6cc59.zip |
Fixed the lock when leaving the menu
svn-id: r24719
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r-- | engines/gob/draw_v2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |