diff options
-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; |