diff options
author | Travis Howell | 2006-10-28 06:30:08 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-28 06:30:08 +0000 |
commit | 847956af4069454516563b2da1640704a5e52e08 (patch) | |
tree | 163891471bf207b00a043eb7a28bcca1ae5ff6eb /engines/agos | |
parent | d5f47e220340b4af79f48f789c9352c2bf36c97c (diff) | |
download | scummvm-rg350-847956af4069454516563b2da1640704a5e52e08.tar.gz scummvm-rg350-847956af4069454516563b2da1640704a5e52e08.tar.bz2 scummvm-rg350-847956af4069454516563b2da1640704a5e52e08.zip |
Fix the heart beat in Elvira 2
svn-id: r24550
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/vga.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp index 1d7c1628d8..c5282e48ac 100644 --- a/engines/agos/vga.cpp +++ b/engines/agos/vga.cpp @@ -982,7 +982,8 @@ void AGOSEngine::vc27_resetSprite() { vsp = _vgaSprites; while (vsp->id) { - if ((getGameType() == GType_SIMON1) && vsp->id == 128) { + if ((getGameType() == GType_SIMON1 && vsp->id == 128) || + (getGameType() == GType_ELVIRA2 && vsp->id == 100)) { memcpy(&bak, vsp, sizeof(VgaSprite)); } vsp->id = 0; @@ -1006,7 +1007,8 @@ void AGOSEngine::vc27_resetSprite() { vte = _vgaTimerList; while (vte->delay) { - if ((getGameType() == GType_SIMON1) && vte->sprite_id == 128) { + if ((getGameType() == GType_SIMON1 && vte->sprite_id == 128) || + (getGameType() == GType_ELVIRA2 && vte->sprite_id == 100)) { vte++; } else { vte2 = vte; |