aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-01-31 15:16:51 +0000
committerJohannes Schickel2009-01-31 15:16:51 +0000
commit20d1e78fa6e7471a3d7b381ea8b2086cbf7d69bb (patch)
treed7ef5e2006acc4f7593119dcfecfc71306097c53 /engines
parentf8963cf550abb6ece7e7c64976dbeabbcac735e0 (diff)
downloadscummvm-rg350-20d1e78fa6e7471a3d7b381ea8b2086cbf7d69bb.tar.gz
scummvm-rg350-20d1e78fa6e7471a3d7b381ea8b2086cbf7d69bb.tar.bz2
scummvm-rg350-20d1e78fa6e7471a3d7b381ea8b2086cbf7d69bb.zip
o2_loadSoundFile is a dummy for non DOS versions.
svn-id: r36168
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/script_hof.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}