From a91f7e025c6e047b6b3a639231b37357cd9677c9 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 16 May 2007 06:36:43 +0000 Subject: Fix regression in Simon the Sorcerer 1/2, that caused various glitches. svn-id: r26849 --- engines/agos/vga_ww.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/engines/agos/vga_ww.cpp b/engines/agos/vga_ww.cpp index 3acf1bba61..da881908f0 100644 --- a/engines/agos/vga_ww.cpp +++ b/engines/agos/vga_ww.cpp @@ -73,10 +73,7 @@ void AGOSEngine::vcStopAnimation(uint file, uint sprite) { vte = _vgaTimerList; while (vte->delay) { - // Skip the animateSprites event in earlier games - if (vte->type == 2) { - vte++; - } else if (vte->sprite_id == _vgaCurSpriteId && (getGameType() == GType_SIMON1 || vte->cur_vga_file == _vgaCurZoneNum)) { + if (vte->sprite_id == _vgaCurSpriteId && (getGameType() == GType_SIMON1 || vte->cur_vga_file == _vgaCurZoneNum)) { deleteVgaEvent(vte); break; } -- cgit v1.2.3