aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-31 12:06:33 +0000
committerJohannes Schickel2009-01-31 12:06:33 +0000
commit71dcc140f9e51ab1c6dc99bfd75223557e44cec3 (patch)
tree47650b0bb6297c31bfcc21f767f98a1cb4ec82b2
parent31d40307bcc9d95c4caab2199293f6814812ea3c (diff)
downloadscummvm-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.cpp3
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;
}