aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-07-14 08:16:40 +0000
committerTravis Howell2004-07-14 08:16:40 +0000
commite69d51e1ba11b875500838ddbc7e409a05b50360 (patch)
treebde054b94b758665ea74737c72fafbfc5c42bf65
parentd68d9a4e1ddce1e660dd09e48479c15873cedd2c (diff)
downloadscummvm-rg350-e69d51e1ba11b875500838ddbc7e409a05b50360.tar.gz
scummvm-rg350-e69d51e1ba11b875500838ddbc7e409a05b50360.tar.bz2
scummvm-rg350-e69d51e1ba11b875500838ddbc7e409a05b50360.zip
Ooops
svn-id: r14210
-rw-r--r--scumm/script_v6.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 19adb9013c..a1f6c2909c 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1025,7 +1025,6 @@ void ScummEngine_v6::o6_getOwner() {
void ScummEngine_v6::o6_startSound() {
int offset = 0;
- int snd = pop();
// In Fatty Bear's Birthday Surprise the piano uses offsets 1 - 23 to
// indicate which note to play, but only when using the standard piano
@@ -1034,9 +1033,9 @@ void ScummEngine_v6::o6_startSound() {
offset = pop();
if (_features & GF_DIGI_IMUSE)
- _imuseDigital->startSfx(snd, 64);
+ _imuseDigital->startSfx(pop(), 64);
else
- _sound->addSoundToQueue(snd, offset);
+ _sound->addSoundToQueue(pop(), offset);
}
void ScummEngine_v6::o6_stopSound() {