mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
Fix regression in Simon the Sorcerer 1/2, that caused various glitches.
svn-id: r26849
This commit is contained in:
parent
bdb18c60d8
commit
a91f7e025c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user