aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2017-07-26 05:53:11 +0200
committerWillem Jan Palenstijn2017-07-26 05:53:41 +0200
commit4c27396aaae3ee31849a2934ca932149414f1290 (patch)
tree0837dcb85f09ceeac423f69f7e8e569821931338 /engines/titanic/game
parent6b80c13467df4253b19454d7fdb17a6c2c290d97 (diff)
downloadscummvm-rg350-4c27396aaae3ee31849a2934ca932149414f1290.tar.gz
scummvm-rg350-4c27396aaae3ee31849a2934ca932149414f1290.tar.bz2
scummvm-rg350-4c27396aaae3ee31849a2934ca932149414f1290.zip
TITANIC: Fix wrong array size
This will hopefully fix #10001
Diffstat (limited to 'engines/titanic/game')
-rw-r--r--engines/titanic/game/maitred/maitred_legs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/maitred/maitred_legs.cpp b/engines/titanic/game/maitred/maitred_legs.cpp
index 8c0b0db5ea..30882ccc66 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");