From 5ba36c8216e1a63064b699c6e404514dca180024 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sat, 13 Feb 2010 21:59:45 +0000 Subject: Fascination: - Fix a potential bug in winDraw - Add a hack (and a todo) to work around the missing texts and windows in Amiga, Atari and early PC floppy version. svn-id: r48053 --- engines/gob/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/draw.cpp') diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp index 5a385f5a64..75177ff02d 100644 --- a/engines/gob/draw.cpp +++ b/engines/gob/draw.cpp @@ -974,7 +974,7 @@ void Draw::winDraw(int16 fct) { case DRAW_LOADSPRITE: // 5 - Uncompress and load a sprite // TODO: check the implementation, currently dirty cut and paste of DRAW_SPRITE code - resource = _vm->_game->_resources->getResource((uint16) _spriteLeft, + resource = _vm->_game->_resources->getResource((_spriteLeft & 0x3FFF), &_spriteRight, &_spriteBottom); if (!resource) { -- cgit v1.2.3