Ooops, fix typo in last commit.

svn-id: r28257
This commit is contained in:
Travis Howell 2007-07-28 07:56:58 +00:00
parent bb2796c57a
commit d764dca90f

View File

@ -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;
}