From 71dcc140f9e51ab1c6dc99bfd75223557e44cec3 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 31 Jan 2009 12:06:33 +0000 Subject: Fixed o2_loadSoundFile implementation. svn-id: r36163 --- engines/kyra/script_hof.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/kyra/script_hof.cpp') 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; } -- cgit v1.2.3