SCI: also set throttle trigger on kPalette(animate)

svn-id: r50109
This commit is contained in:
Martin Kiewitz 2010-06-21 10:40:48 +00:00
parent 98196b8af6
commit 8fce660090

View File

@ -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) {