diff options
author | Travis Howell | 2010-05-12 05:01:58 +0000 |
---|---|---|
committer | Travis Howell | 2010-05-12 05:01:58 +0000 |
commit | 920e47cca0fadce21531e5a15bb76d4559067607 (patch) | |
tree | e4e4ff1b7a44739559a2fd2c153a4c64a810b7af /engines/scumm/vars.cpp | |
parent | 47d6284c83352ad2429a2a535b53c02bb537867c (diff) | |
download | scummvm-rg350-920e47cca0fadce21531e5a15bb76d4559067607.tar.gz scummvm-rg350-920e47cca0fadce21531e5a15bb76d4559067607.tar.bz2 scummvm-rg350-920e47cca0fadce21531e5a15bb76d4559067607.zip |
Fix missing songs in the HE73 version of Putt-Putt Saves the Zoo.
svn-id: r49010
Diffstat (limited to 'engines/scumm/vars.cpp')
-rw-r--r-- | engines/scumm/vars.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/vars.cpp b/engines/scumm/vars.cpp index 7e753199a9..cacfd0101b 100644 --- a/engines/scumm/vars.cpp +++ b/engines/scumm/vars.cpp @@ -296,6 +296,7 @@ void ScummEngine_v72he::setupScummVars() { VAR_POLYGONS_ONLY = 76; if (_game.heversion <= 74) { + VAR_SOUND_ENABLED = 54; VAR_NUM_SOUND_CHANNELS = 56; } @@ -654,6 +655,11 @@ void ScummEngine_v72he::resetScummVars() { VAR(VAR_NUM_CHARSETS) = _numCharsets - 1; VAR(VAR_NUM_GLOBAL_OBJS) = _numGlobalObjects - 1; + if (_game.heversion <= 74) { + // Songs are disabled, if sound is disabled. + VAR(VAR_SOUND_ENABLED) = 1; + } + if (_game.heversion == 74) { // Uses different values, compared to later HE80+ games. if (_game.platform == Common::kPlatformMacintosh) { |