aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6he.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index 200a41a896..8b4aa66faf 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -397,9 +397,11 @@ void ScummEngine_v6he::o6_setState() {
}
void ScummEngine_v6he::o6_startSound() {
- // Seems to range between 952 - 9000
- if (_gameId != GID_PUTTDEMO)
- debug(2, "o6_startSound: unknown value %d", pop());
+ if (_gameId != GID_PUTTDEMO) {
+ // Seems to range between 952 - 9000
+ int offset = pop();
+ debug(2, "o6_startSound: offset %d", offset);
+ }
_sound->addSoundToQueue(pop());
}