From 920e47cca0fadce21531e5a15bb76d4559067607 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 12 May 2010 05:01:58 +0000 Subject: Fix missing songs in the HE73 version of Putt-Putt Saves the Zoo. svn-id: r49010 --- engines/scumm/vars.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/scumm/vars.cpp') 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) { -- cgit v1.2.3