aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-02-26 08:15:31 +0100
committerStrangerke2014-02-26 08:15:31 +0100
commit8661653670a58977019c26d198a0a727f8315ae2 (patch)
tree517a01aca3e536fa5880933005ca4716dda87d73 /engines/voyeur
parent2d12325006c7db4984b2a544ec134387d5432ab0 (diff)
downloadscummvm-rg350-8661653670a58977019c26d198a0a727f8315ae2.tar.gz
scummvm-rg350-8661653670a58977019c26d198a0a727f8315ae2.tar.bz2
scummvm-rg350-8661653670a58977019c26d198a0a727f8315ae2.zip
VOYEUR: Remove a boolean increment in checkPhoneCall()
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/voyeur_game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp
index 037ef68d94..f928642fe0 100644
--- a/engines/voyeur/voyeur_game.cpp
+++ b/engines/voyeur/voyeur_game.cpp
@@ -1327,7 +1327,7 @@ void VoyeurEngine::checkPhoneCall() {
_soundManager.stopVOCPlay();
_soundManager.startVOCPlay(_currentVocId);
_checkPhoneVal = _voy._switchBGNum;
- ++_voy._phoneCallsReceived[soundIndex];
+ _voy._phoneCallsReceived[soundIndex] = true;
++_voy._totalPhoneCalls;
}
}