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:
Martin Kiewitz 2010-06-20 20:05:00 +00:00
parent a22e294ca6
commit 3a9217dd5a

View File

@ -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;