aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-10-13 09:18:17 +0000
committerTravis Howell2004-10-13 09:18:17 +0000
commit1460a3032fa5bbebd061f999b5bb7cf158182395 (patch)
tree769375496c686a4f3dd41d50690aa04574c873e5 /scumm
parent942ad1dc6c147a2e41c47356522a8f2c66706012 (diff)
downloadscummvm-rg350-1460a3032fa5bbebd061f999b5bb7cf158182395.tar.gz
scummvm-rg350-1460a3032fa5bbebd061f999b5bb7cf158182395.tar.bz2
scummvm-rg350-1460a3032fa5bbebd061f999b5bb7cf158182395.zip
Add for HE100 too.
svn-id: r15542
Diffstat (limited to 'scumm')
-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));
}