mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
DIRECTOR: Fix palette change for puppet transitions
Fixes palette glitches when rotating the probe in the Mac version of Majestic: Part 1.
This commit is contained in:
parent
82e891d1d3
commit
68bcf717df
@ -590,8 +590,8 @@ bool Score::renderTransition(uint16 frameId) {
|
||||
TransParams *tp = _window->_puppetTransition;
|
||||
|
||||
if (tp) {
|
||||
_window->playTransition(frameId, tp->duration, tp->area, tp->chunkSize, tp->type, 0);
|
||||
|
||||
setLastPalette(frameId);
|
||||
_window->playTransition(frameId, tp->duration, tp->area, tp->chunkSize, tp->type, resolvePaletteId(currentFrame->_palette.paletteId));
|
||||
delete _window->_puppetTransition;
|
||||
_window->_puppetTransition = nullptr;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user