diff options
author | Willem Jan Palenstijn | 2017-07-26 05:53:11 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-07-26 05:53:41 +0200 |
commit | 4c27396aaae3ee31849a2934ca932149414f1290 (patch) | |
tree | 0837dcb85f09ceeac423f69f7e8e569821931338 | |
parent | 6b80c13467df4253b19454d7fdb17a6c2c290d97 (diff) | |
download | scummvm-rg350-4c27396aaae3ee31849a2934ca932149414f1290.tar.gz scummvm-rg350-4c27396aaae3ee31849a2934ca932149414f1290.tar.bz2 scummvm-rg350-4c27396aaae3ee31849a2934ca932149414f1290.zip |
TITANIC: Fix wrong array size
This will hopefully fix #10001
-rw-r--r-- | engines/titanic/game/maitred/maitred_legs.cpp | 2 |
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"); |