diff options
author | Eugene Sandulenko | 2017-02-26 22:58:24 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-02-26 23:08:22 +0100 |
commit | 37985991e867b005831fbf975d7b77e2fc244ef9 (patch) | |
tree | 17e1034a6486d0d515fcafd1f34c0350d03d0c3a /engines/director | |
parent | f47602f87d73155ba8eb51cf7f67ba9a481b51de (diff) | |
download | scummvm-rg350-37985991e867b005831fbf975d7b77e2fc244ef9.tar.gz scummvm-rg350-37985991e867b005831fbf975d7b77e2fc244ef9.tar.bz2 scummvm-rg350-37985991e867b005831fbf975d7b77e2fc244ef9.zip |
DIRECTOR: Fix rendering of shapes of type 16
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/frame.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index fdb342f9e8..176bc475d1 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -550,14 +550,15 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) { if (_vm->getVersion() < 4) { debugC(1, kDebugImages, "Channel: %d type: %d", i, _sprites[i]->_spriteType); switch (_sprites[i]->_spriteType) { - case 0x01: + case 1: castType = kCastBitmap; break; - case 0x02: - case 0x0c: // this is actually a mouse-over shape? I don't think it's a real button. + case 2: + case 12: // this is actually a mouse-over shape? I don't think it's a real button. + case 16: // Face kit D3 castType = kCastShape; break; - case 0x07: + case 7: castType = kCastText; break; } |