[Scummvm-cvs-logs] scummvm master -> 5d6f924fa6bcd68ae2d1489ee062a31ce0cdbb5f

wjp wjp at usecode.org
Sat Nov 14 22:43:59 CET 2015


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:
5d6f924fa6 BBVS: Fix typo in array size


Commit: 5d6f924fa6bcd68ae2d1489ee062a31ce0cdbb5f
    https://github.com/scummvm/scummvm/commit/5d6f924fa6bcd68ae2d1489ee062a31ce0cdbb5f
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2015-11-14T22:43:16+01:00

Commit Message:
BBVS: Fix typo in array size

Ideally this shouldn't use a hardcoded constant at all...
Thanks to WindlePoons for debugging.

Changed paths:
    engines/bbvs/minigames/bbtennis.cpp



diff --git a/engines/bbvs/minigames/bbtennis.cpp b/engines/bbvs/minigames/bbtennis.cpp
index 7763548..6c7d8cb 100644
--- a/engines/bbvs/minigames/bbtennis.cpp
+++ b/engines/bbvs/minigames/bbtennis.cpp
@@ -516,7 +516,7 @@ void MinigameBbTennis::updateObjs() {
 		}
 		obj->blinkCtr = _vm->getRandom(64) + 60;
 		_tennisPlayerDelay = _vm->getRandom(128) + 400 - _playerDecrease;
-		if (_vm->getRandom(10) == 1 && !isAnySoundPlaying(kAllSounds, 0x11))
+		if (_vm->getRandom(10) == 1 && !isAnySoundPlaying(kAllSounds, 11))
 			playSound(kYuppieEnteringCourtSounds[_vm->getRandom(2)]);
 	}
 






More information about the Scummvm-git-logs mailing list