aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_hof.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-27 21:04:27 +0000
committerJohannes Schickel2008-05-27 21:04:27 +0000
commit691306f0b7e86e845fe3049316a657dd83a21865 (patch)
treea16ea23c3f0cdea8458eb9ef8aa6021d24d40c4e /engines/kyra/script_hof.cpp
parentc0f1b7fe66372d52da2265d001049fd966f8dac7 (diff)
downloadscummvm-rg350-691306f0b7e86e845fe3049316a657dd83a21865.tar.gz
scummvm-rg350-691306f0b7e86e845fe3049316a657dd83a21865.tar.bz2
scummvm-rg350-691306f0b7e86e845fe3049316a657dd83a21865.zip
Fixed KyraEngine_v1::snd_stopVoice and KyraEngine_v1::snd_voiceIsPlaying implementations.
svn-id: r32330
Diffstat (limited to 'engines/kyra/script_hof.cpp')
-rw-r--r--engines/kyra/script_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp
index ef50cc8dfd..91fbfb3e49 100644
--- a/engines/kyra/script_hof.cpp
+++ b/engines/kyra/script_hof.cpp
@@ -760,7 +760,7 @@ int KyraEngine_HoF::o2_showItemString(EMCState *script) {
int KyraEngine_HoF::o2_isAnySoundPlaying(EMCState *script) {
debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_isAnySoundPlaying(%p) ()", (const void *)script);
- return _sound->voiceIsPlaying();
+ return _sound->voiceIsPlaying() ? 1 : 0;
}
int KyraEngine_HoF::o2_setDrawNoShapeFlag(EMCState *script) {