aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-07-28 07:56:58 +0000
committerTravis Howell2007-07-28 07:56:58 +0000
commitd764dca90f157fb9c99491874f60013991502e25 (patch)
tree24838bf1aa186b797c762180f718e875e79f78ea
parentbb2796c57a5bd6cfb417340e6cfda141eee9342e (diff)
downloadscummvm-rg350-d764dca90f157fb9c99491874f60013991502e25.tar.gz
scummvm-rg350-d764dca90f157fb9c99491874f60013991502e25.tar.bz2
scummvm-rg350-d764dca90f157fb9c99491874f60013991502e25.zip
Ooops, fix typo in last commit.
svn-id: r28257
-rw-r--r--sound/mods/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mods/module.cpp b/sound/mods/module.cpp
index ce12ce9382..96d977d422 100644
--- a/sound/mods/module.cpp
+++ b/sound/mods/module.cpp
@@ -177,7 +177,7 @@ bool Module::load(Common::SeekableReadStream &st, int offs) {
// For modules that use common samples
for (int j = 0; j < NUM_SAMPLES; ++j) {
if (!scumm_stricmp((const char *)commonSamples[j].name, (const char *)sample[i].name)) {
- sample[i].len = commonSamples[i].len;
+ sample[i].len = commonSamples[j].len;
st.seek(commonSamples[j].offs);
break;
}