diff options
author | Arnaud Boutonné | 2010-02-13 21:59:45 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-02-13 21:59:45 +0000 |
commit | 5ba36c8216e1a63064b699c6e404514dca180024 (patch) | |
tree | 6cf6591675989e85960bda529353f6ec9b091849 /engines/gob/draw.cpp | |
parent | b9a11ddb0b69910418d0ccc8cf303a2e2a181f3a (diff) | |
download | scummvm-rg350-5ba36c8216e1a63064b699c6e404514dca180024.tar.gz scummvm-rg350-5ba36c8216e1a63064b699c6e404514dca180024.tar.bz2 scummvm-rg350-5ba36c8216e1a63064b699c6e404514dca180024.zip |
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
Diffstat (limited to 'engines/gob/draw.cpp')
-rw-r--r-- | engines/gob/draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |