aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/staticres.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index bac31f0a3e..57a0f8dce8 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -818,7 +818,7 @@ void KyraEngine_LoK::initStaticResource() {
for (int i = 0; i < soundFilesSize; i++)
soundFiles[i] = (i < size1) ? soundfiles1[i] : soundfiles2[i - size1];
}
- const char *const *soundFilesIntro = _staticres->loadStrings(k1AudioTracksIntro, temp);
+ const char *const *soundFilesIntro = _staticres->loadStrings(k1AudioTracksIntro, soundFilesIntroSize);
const int32 *cdaTable = (const int32 *)_staticres->loadRawData(k1TownsCDATable, cdaTableSize);
// FIXME: It seems Kyra1 MAC CD includes AdLib and MIDI music and sfx, thus we enable