aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-10 12:15:45 +0000
committerTravis Howell2004-02-10 12:15:45 +0000
commit514347c899f42e1aa8709be1cba0d65a5a7eaf67 (patch)
tree524bc5d1485b5d4122ae3bbf65a53dde28fc0f6f /scumm
parent9271ca5233dd097661fe6c9353425da8dc9d1f42 (diff)
downloadscummvm-rg350-514347c899f42e1aa8709be1cba0d65a5a7eaf67.tar.gz
scummvm-rg350-514347c899f42e1aa8709be1cba0d65a5a7eaf67.tar.bz2
scummvm-rg350-514347c899f42e1aa8709be1cba0d65a5a7eaf67.zip
Revert var name.
svn-id: r12811
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());
}