[Scummvm-cvs-logs] scummvm master -> 592526dc5d66b4249f8acd1d4b3ad3d7fa1854bf

johndoe123 benjamin.haisch at t-online.de
Sun Jan 12 00:34:06 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:
592526dc5d NEVERHOOD: Fix "Klaymen! Up here!" in module 1100, scene 2


Commit: 592526dc5d66b4249f8acd1d4b3ad3d7fa1854bf
    https://github.com/scummvm/scummvm/commit/592526dc5d66b4249f8acd1d4b3ad3d7fa1854bf
Author: johndoe123 (john_doe at techie.com)
Date: 2014-01-11T15:33:42-08:00

Commit Message:
NEVERHOOD: Fix "Klaymen! Up here!" in module 1100, scene 2

Changed paths:
    engines/neverhood/sound.cpp



diff --git a/engines/neverhood/sound.cpp b/engines/neverhood/sound.cpp
index 5821fd6..0404369 100644
--- a/engines/neverhood/sound.cpp
+++ b/engines/neverhood/sound.cpp
@@ -214,7 +214,7 @@ void SoundItem::setSoundParams(bool playOnceAfterRandomCountdown, int16 minCount
 		_minCountdown = minCountdown;
 	if (maxCountdown > 0)
 		_maxCountdown = maxCountdown;
-	if (firstMinCountdown >= firstMaxCountdown)
+	if (firstMinCountdown > firstMaxCountdown)
 		_currCountdown = firstMinCountdown;
 	else if (firstMinCountdown > 0 && firstMaxCountdown > 0 && firstMinCountdown < firstMaxCountdown)
 		_currCountdown = _vm->_rnd->getRandomNumberRng(firstMinCountdown, firstMaxCountdown);






More information about the Scummvm-git-logs mailing list