diff options
author | Travis Howell | 2007-05-16 06:36:43 +0000 |
---|---|---|
committer | Travis Howell | 2007-05-16 06:36:43 +0000 |
commit | a91f7e025c6e047b6b3a639231b37357cd9677c9 (patch) | |
tree | 5fbebb15ce20ea41fc524ea240cab202cff179b6 | |
parent | bdb18c60d8c582ac8bd555ac8d573a3f8de9e1a4 (diff) | |
download | scummvm-rg350-a91f7e025c6e047b6b3a639231b37357cd9677c9.tar.gz scummvm-rg350-a91f7e025c6e047b6b3a639231b37357cd9677c9.tar.bz2 scummvm-rg350-a91f7e025c6e047b6b3a639231b37357cd9677c9.zip |
Fix regression in Simon the Sorcerer 1/2, that caused various glitches.
svn-id: r26849
-rw-r--r-- | engines/agos/vga_ww.cpp | 5 |
1 files changed, 1 insertions, 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; } |