aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs.cpp
diff options
context:
space:
mode:
authorBenjamin Haisch2008-05-19 21:32:37 +0000
committerBenjamin Haisch2008-05-19 21:32:37 +0000
commit520af7d4bbe2dd2eb0f023e5d868e755b774350b (patch)
tree1d42d33bdd4cf99b8562bd0ca3cfe40e9534d659 /engines/made/scriptfuncs.cpp
parent7d28b651727580956005be732e35fc2cdd55500e (diff)
downloadscummvm-rg350-520af7d4bbe2dd2eb0f023e5d868e755b774350b.tar.gz
scummvm-rg350-520af7d4bbe2dd2eb0f023e5d868e755b774350b.tar.bz2
scummvm-rg350-520af7d4bbe2dd2eb0f023e5d868e755b774350b.zip
RtZ: Fixed a bug where sounds were cut off prematurely.
svn-id: r32188
Diffstat (limited to 'engines/made/scriptfuncs.cpp')
-rw-r--r--engines/made/scriptfuncs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index 2819f127ef..d5227ecbf5 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -188,7 +188,8 @@ int16 ScriptFunctions::sfClearScreen(int16 argc, int16 *argv) {
}
int16 ScriptFunctions::sfShowPage(int16 argc, int16 *argv) {
- _vm->_mixer->stopHandle(_audioStreamHandle);
+ if (_vm->getGameID() != GID_RTZ)
+ _vm->_mixer->stopHandle(_audioStreamHandle);
_vm->_screen->show();
return 0;
}