mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 02:42:34 +00:00
DIRECTOR: Fix rendering of shapes of type 16
This commit is contained in:
parent
f47602f87d
commit
37985991e8
@ -550,14 +550,15 @@ void Frame::renderSprites(Graphics::ManagedSurface &surface, bool renderTrail) {
|
|||||||
if (_vm->getVersion() < 4) {
|
if (_vm->getVersion() < 4) {
|
||||||
debugC(1, kDebugImages, "Channel: %d type: %d", i, _sprites[i]->_spriteType);
|
debugC(1, kDebugImages, "Channel: %d type: %d", i, _sprites[i]->_spriteType);
|
||||||
switch (_sprites[i]->_spriteType) {
|
switch (_sprites[i]->_spriteType) {
|
||||||
case 0x01:
|
case 1:
|
||||||
castType = kCastBitmap;
|
castType = kCastBitmap;
|
||||||
break;
|
break;
|
||||||
case 0x02:
|
case 2:
|
||||||
case 0x0c: // this is actually a mouse-over shape? I don't think it's a real button.
|
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;
|
castType = kCastShape;
|
||||||
break;
|
break;
|
||||||
case 0x07:
|
case 7:
|
||||||
castType = kCastText;
|
castType = kCastText;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user