aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-13 23:44:52 +0000
committerPaweł Kołodziejski2008-01-13 23:44:52 +0000
commit758c4b16555c63d4d5aae4236369e9d132e60f39 (patch)
tree4bbbc47e7a4feeb4c8fa4ede84bf7b1321725e05 /engines
parenta493647076652f638f0715947eaffcbeb19e3c6c (diff)
downloadscummvm-rg350-758c4b16555c63d4d5aae4236369e9d132e60f39.tar.gz
scummvm-rg350-758c4b16555c63d4d5aae4236369e9d132e60f39.tar.bz2
scummvm-rg350-758c4b16555c63d4d5aae4236369e9d132e60f39.zip
not need call refreshScripts in demo version of comi
svn-id: r30479
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/scumm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 6fb717e37e..3a1d04a5a8 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -2122,8 +2122,8 @@ void ScummEngine_v7::scummLoop_handleSound() {
ScummEngine_v6::scummLoop_handleSound();
if (_imuseDigital) {
_imuseDigital->flushTracks();
- // In CoMI and the full (non-demo) version of The Dig, also invoke IMuseDigital::refreshScripts
- if ( ((_game.id == GID_DIG) && (!(_game.features & GF_DEMO))) || (_game.id == GID_CMI) )
+ // In CoMI and the Dig the full (non-demo) version invoke IMuseDigital::refreshScripts
+ if ((_game.id == GID_DIG || _game.id == GID_CMI) && !(_game.features & GF_DEMO))
_imuseDigital->refreshScripts();
}
if (_smixer) {