From 20d1e78fa6e7471a3d7b381ea8b2086cbf7d69bb Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 31 Jan 2009 15:16:51 +0000 Subject: o2_loadSoundFile is a dummy for non DOS versions. svn-id: r36168 --- engines/kyra/script_hof.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp index ee95865c55..9f6a52a18e 100644 --- a/engines/kyra/script_hof.cpp +++ b/engines/kyra/script_hof.cpp @@ -403,7 +403,8 @@ 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)); - snd_loadSoundFile(stackPos(0)); + if (_flags.platform == Common::kPlatformPC) + snd_loadSoundFile(stackPos(0)); return 0; } -- cgit v1.2.3