diff options
author | Travis Howell | 2003-12-06 04:18:48 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-06 04:18:48 +0000 |
commit | e600b3081f7393a9ca7669763b7931b9181f1fd9 (patch) | |
tree | 390c5e816b43022627cdffa0bcbb05de8a034d2c /simon | |
parent | 0b0580e242e0509cd5f9b26df774c8f8a23ebd9d (diff) | |
download | scummvm-rg350-e600b3081f7393a9ca7669763b7931b9181f1fd9.tar.gz scummvm-rg350-e600b3081f7393a9ca7669763b7931b9181f1fd9.tar.bz2 scummvm-rg350-e600b3081f7393a9ca7669763b7931b9181f1fd9.zip |
This checks should be simon1win only, just to be on safe side.
svn-id: r11506
Diffstat (limited to 'simon')
-rw-r--r-- | simon/vga.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/simon/vga.cpp b/simon/vga.cpp index a1785bbb47..05a4d53a22 100644 --- a/simon/vga.cpp +++ b/simon/vga.cpp @@ -1221,7 +1221,7 @@ void SimonEngine::vc_27_reset_simon1() { vsp = _vga_sprites; while (vsp->id) { - if (vsp->id == 128) { + if ((_game == GAME_SIMON1WIN) && (vsp->id == 0x80)) { memcpy(&bak, vsp, sizeof(VgaSprite)); } vsp->id = 0; @@ -1245,7 +1245,7 @@ void SimonEngine::vc_27_reset_simon1() { memcpy(vte2, vte2 + 1, sizeof(VgaTimerEntry)); vte2++; } - } else { + } else if (_game == GAME_SIMON1WIN) { vte++; } } @@ -1730,7 +1730,7 @@ void SimonEngine::vc_62_palette_thing() { vsp = _vga_sprites; while (vsp->id != 0) { - if (vsp->id == 128) { + if (vsp->id == 0x80) { byte *old_file_1 = _cur_vga_file_1; byte *old_file_2 = _cur_vga_file_2; uint palmode = _video_palette_mode; |