aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v7he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r--scumm/script_v7he.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp
index 639fa462d1..af72a58fea 100644
--- a/scumm/script_v7he.cpp
+++ b/scumm/script_v7he.cpp
@@ -665,32 +665,32 @@ void ScummEngine_v7he::o7_startSound() {
break;
case 230:
- _heSndVar2 = pop();
+ _heSndTimer = pop();
break;
case 231:
- _heSndVar3 = pop();
+ _heSndOffset = pop();
break;
case 232:
_heSndSoundId = pop();
- _heSndVar3 = 0;
+ _heSndTimer = 0;
_heSndSoundFreq = 11025;
- _heSndVar2 = VAR(VAR_MUSIC_TIMER);
+ _heSndTimer = VAR(VAR_MUSIC_TIMER);
break;
case 245:
- _heSndVar5 |= 1;
+ _heSndLoop |= 1;
break;
case 255:
- // _sound->addSoundToQueue(_heSndSoundId, _heSndVar3, _heSndVar2, _heSndVar5);
+ // _sound->addSoundToQueue(_heSndSoundId, _heSndOffset, _heSndTimer, _heSndLoop);
// FIXME: Music resources (Id 4000+?) are currently unsupported,
// so don't attempt to play them.
if (_heSndSoundId < 4000)
_sound->addSoundToQueue(_heSndSoundId);
- debug(1, "o7_startSound stub (%d, %d, %d, %d)", _heSndSoundId, _heSndVar3, _heSndVar2, _heSndVar5);
- _heSndVar5 = 0;
+ debug(1, "o7_startSound stub (%d, %d, %d, %d)", _heSndSoundId, _heSndOffset, _heSndTimer, _heSndLoop);
+ _heSndLoop = 0;
break;
default: