diff options
author | Johannes Schickel | 2009-04-29 11:31:59 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-04-29 11:31:59 +0000 |
commit | 4f9ea1c920390bfe4e24012b5718a860cf4c3c03 (patch) | |
tree | 20aad5246f4d363e37a023753304268260ad39a6 | |
parent | 4a2e5bb79356b7f3433d548ea03a0a00a464f3ad (diff) | |
download | scummvm-rg350-4f9ea1c920390bfe4e24012b5718a860cf4c3c03.tar.gz scummvm-rg350-4f9ea1c920390bfe4e24012b5718a860cf4c3c03.tar.bz2 scummvm-rg350-4f9ea1c920390bfe4e24012b5718a860cf4c3c03.zip |
Fix out of bounds array access (as reported by DrMcCoy).
svn-id: r40197
-rw-r--r-- | engines/kyra/staticres.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index b60a7f1e90..23ffc212ef 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -1867,7 +1867,7 @@ void LoLEngine::initStaticResource() { _soundData[1].fileList = pcMusicFileListIngame; _soundData[1].fileListLen = 1; _soundData[2].fileList = pcMusicFileListFinale; - _soundData[3].fileListLen = 1; + _soundData[2].fileListLen = 1; } else if (_flags.platform == Common::kPlatformPC98) { _soundData[0].fileList = pc98MusicFileListIntro; _soundData[0].fileListLen = ARRAYSIZE(pc98MusicFileListIntro); |