aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/simon.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-04-20 06:38:46 +0000
committerTravis Howell2006-04-20 06:38:46 +0000
commit66cbf6c05df0f06335cb19aa063f7a0272f0339d (patch)
treef3f9c65a447285efcc886eb0da2d0f22c9857d72 /engines/simon/simon.cpp
parent8121b8eebe63b801bd545537b490112dba10a4ac (diff)
downloadscummvm-rg350-66cbf6c05df0f06335cb19aa063f7a0272f0339d.tar.gz
scummvm-rg350-66cbf6c05df0f06335cb19aa063f7a0272f0339d.tar.bz2
scummvm-rg350-66cbf6c05df0f06335cb19aa063f7a0272f0339d.zip
_rejectCount should only be incremented in checkNoOverWrite()
svn-id: r22050
Diffstat (limited to 'engines/simon/simon.cpp')
-rw-r--r--engines/simon/simon.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index c61bd6f2f3..ca6f2f5728 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -2231,15 +2231,12 @@ void SimonEngine::checkAnims(uint a, byte *end) {
if (vpe->vgaFile1 < end && vpe->vgaFile1End > _vgaBufFreeStart) {
_rejectBlock = true;
- _rejectCount++;
_vgaBufFreeStart = vpe->vgaFile1End;
} else if (vpe->vgaFile2 < end && vpe->vgaFile2End > _vgaBufFreeStart) {
_rejectBlock = true;
- _rejectCount++;
_vgaBufFreeStart = vpe->vgaFile2End;
} else if (vpe->sfxFile && vpe->sfxFile < end && vpe->sfxFileEnd > _vgaBufFreeStart) {
_rejectBlock = true;
- _rejectCount++;
_vgaBufFreeStart = vpe->sfxFileEnd;
} else {
_rejectBlock = false;