mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
SCI: disable palvary when reverse is fully done - fixes palette getting stuck in pharkas (the broken palette in there is actually not caused by palvary, it was just overwritten before by view palette updates and those dont occur when palvary is active)
svn-id: r50093
This commit is contained in:
parent
a22e294ca6
commit
3a9217dd5a
@ -596,6 +596,8 @@ void GfxPalette::palVaryProcess(int signal, bool setPalette) {
|
||||
// We don't need updates anymore, if we reached end-position
|
||||
if (_palVaryStep == _palVaryStepStop)
|
||||
g_sci->getTimerManager()->removeTimerProc(&palVaryCallback);
|
||||
if (_palVaryStep == 0)
|
||||
_palVaryResourceId = -1;
|
||||
|
||||
// Calculate inbetween palette
|
||||
Sci::Color inbetween;
|
||||
|
Loading…
x
Reference in New Issue
Block a user