aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/graphics/palette.cpp')
-rw-r--r--engines/sci/graphics/palette.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp
index abe6043f29..3ff6c4dc54 100644
--- a/engines/sci/graphics/palette.cpp
+++ b/engines/sci/graphics/palette.cpp
@@ -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;