aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-09-24 05:26:12 +0000
committerTravis Howell2005-09-24 05:26:12 +0000
commite077fdd9eda8a4eb455810b994deef8cc1805311 (patch)
tree2caed13ecbc0af9c5137e3bf9cddca4790ba0912 /scumm/script_v5.cpp
parentebfdf53b0a3e521a12ac2af85da731eaf4a27f2f (diff)
downloadscummvm-rg350-e077fdd9eda8a4eb455810b994deef8cc1805311.tar.gz
scummvm-rg350-e077fdd9eda8a4eb455810b994deef8cc1805311.tar.bz2
scummvm-rg350-e077fdd9eda8a4eb455810b994deef8cc1805311.zip
Rename & update opcode in C64 maniac.
Remove unused SCUMM vars in C64 maniac svn-id: r18873
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index f7501c526b..beb1713778 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -2183,7 +2183,8 @@ void ScummEngine_v5::o5_startSound() {
return;
}
- VAR(VAR_MUSIC_TIMER) = 0;
+ if (VAR_MUSIC_TIMER != 0xFF)
+ VAR(VAR_MUSIC_TIMER) = 0;
_sound->addSoundToQueue(sound);
}