aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v100he.cpp3
-rw-r--r--scumm/scumm.cpp5
2 files changed, 7 insertions, 1 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index e20f029030..b79c7ca0ca 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -1262,7 +1262,8 @@ void ScummEngine_v100he::o100_startSound() {
pop();
break;
case 92:
- _sound->addSoundToQueue(_heSndSoundId, _heSndOffset);
+ debug(0, "o100_startSound (ID %d, Offset %d, Channel %d, Flags %d)", _heSndSoundId, _heSndOffset, _heSndChannel, _heSndFlags);
+ _sound->addSoundToQueue(_heSndSoundId, _heSndOffset, _heSndChannel, _heSndFlags);
break;
case 128:
_heSndFlags |= 2;
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index be8913ea23..f530558eb4 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1330,6 +1330,11 @@ void ScummEngine_v60he::scummInit() {
void ScummEngine_v90he::scummInit() {
ScummEngine_v80he::scummInit();
+
+ _heObject = 0;
+ _heObjectNum = 0;
+ _hePaletteNum = 0;
+
memset(&_wizParams, 0, sizeof(_wizParams));
}