[Scummvm-git-logs] scummvm master -> 4c27396aaae3ee31849a2934ca932149414f1290

wjp wjp at usecode.org
Wed Jul 26 05:58:47 CEST 2017


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:
4c27396aaa TITANIC: Fix wrong array size


Commit: 4c27396aaae3ee31849a2934ca932149414f1290
    https://github.com/scummvm/scummvm/commit/4c27396aaae3ee31849a2934ca932149414f1290
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2017-07-26T05:53:41+02:00

Commit Message:
TITANIC: Fix wrong array size

This will hopefully fix #10001

Changed paths:
    engines/titanic/game/maitred/maitred_legs.cpp


diff --git a/engines/titanic/game/maitred/maitred_legs.cpp b/engines/titanic/game/maitred/maitred_legs.cpp
index 8c0b0db..30882cc 100644
--- a/engines/titanic/game/maitred/maitred_legs.cpp
+++ b/engines/titanic/game/maitred/maitred_legs.cpp
@@ -68,7 +68,7 @@ bool CMaitreDLegs::AnimateMaitreDMsg(CAnimateMaitreDMsg *msg) {
 			playRandomClip(FIGHTING_CLIPS);
 
 			if (getRandomNumber(2) != 0)
-				playSound(ARCING_SOUNDS[getRandomNumber(9)],
+				playSound(ARCING_SOUNDS[getRandomNumber(8)],
 					40 + getRandomNumber(30));
 		} else {
 			playClip("Walk Right");





More information about the Scummvm-git-logs mailing list