aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-05-16 06:36:43 +0000
committerTravis Howell2007-05-16 06:36:43 +0000
commita91f7e025c6e047b6b3a639231b37357cd9677c9 (patch)
tree5fbebb15ce20ea41fc524ea240cab202cff179b6
parentbdb18c60d8c582ac8bd555ac8d573a3f8de9e1a4 (diff)
downloadscummvm-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.cpp5
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;
}