diff options
author | Martin Kiewitz | 2010-06-21 10:40:48 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-21 10:40:48 +0000 |
commit | 8fce6600904e2094de6488e01540fca1433b1530 (patch) | |
tree | 6dfa8469cf057e4aad5fe6fd1b759c7231eaa280 | |
parent | 98196b8af672ecbf42738487e659fe905163819a (diff) | |
download | scummvm-rg350-8fce6600904e2094de6488e01540fca1433b1530.tar.gz scummvm-rg350-8fce6600904e2094de6488e01540fca1433b1530.tar.bz2 scummvm-rg350-8fce6600904e2094de6488e01540fca1433b1530.zip |
SCI: also set throttle trigger on kPalette(animate)
svn-id: r50109
-rw-r--r-- | engines/sci/graphics/palette.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp index bcf84095dc..d256227ea8 100644 --- a/engines/sci/graphics/palette.cpp +++ b/engines/sci/graphics/palette.cpp @@ -429,6 +429,8 @@ bool GfxPalette::kernelAnimate(byte fromColor, byte toColor, int speed) { scheduleCount++; } + g_sci->getEngineState()->_throttleTrigger = true; + for (scheduleNr = 0; scheduleNr < scheduleCount; scheduleNr++) { if (_schedules[scheduleNr].from == fromColor) { if (_schedules[scheduleNr].schedule <= now) { |