aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-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;
}