diff options
author | Johannes Schickel | 2009-01-31 12:06:33 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-01-31 12:06:33 +0000 |
commit | 71dcc140f9e51ab1c6dc99bfd75223557e44cec3 (patch) | |
tree | 47650b0bb6297c31bfcc21f767f98a1cb4ec82b2 | |
parent | 31d40307bcc9d95c4caab2199293f6814812ea3c (diff) | |
download | scummvm-rg350-71dcc140f9e51ab1c6dc99bfd75223557e44cec3.tar.gz scummvm-rg350-71dcc140f9e51ab1c6dc99bfd75223557e44cec3.tar.bz2 scummvm-rg350-71dcc140f9e51ab1c6dc99bfd75223557e44cec3.zip |
Fixed o2_loadSoundFile implementation.
svn-id: r36163
-rw-r--r-- | engines/kyra/script_hof.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp index 2a763ad3ae..ee95865c55 100644 --- a/engines/kyra/script_hof.cpp +++ b/engines/kyra/script_hof.cpp @@ -403,8 +403,7 @@ int KyraEngine_HoF::o2_addItemToCurScene(EMCState *script) { int KyraEngine_HoF::o2_loadSoundFile(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_loadSoundFile(%p) (%d)", (const void *)script, stackPos(0)); - if (_sound->hasSoundFile(stackPos(0))) - snd_playTheme(stackPos(0), -1); + snd_loadSoundFile(stackPos(0)); return 0; } |