[Scummvm-cvs-logs] scummvm master -> 8661653670a58977019c26d198a0a727f8315ae2

Strangerke Strangerke at scummvm.org
Wed Feb 26 08:17:08 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8661653670 VOYEUR: Remove a boolean increment in checkPhoneCall()


Commit: 8661653670a58977019c26d198a0a727f8315ae2
    https://github.com/scummvm/scummvm/commit/8661653670a58977019c26d198a0a727f8315ae2
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-25T23:15:31-08:00

Commit Message:
VOYEUR: Remove a boolean increment in checkPhoneCall()

Changed paths:
    engines/voyeur/voyeur_game.cpp



diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp
index 037ef68..f928642 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;
 		}
 	}






More information about the Scummvm-git-logs mailing list