aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/sound.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-12-12 12:07:09 +0200
committerFilippos Karapetis2011-12-12 12:07:09 +0200
commit9a420d232fe55f85ef7c418b3e0c0a26ffacf69e (patch)
tree6fe708c1fc1ba35a8cd0e71bc50ae3a1f4ccc3a6 /engines/dreamweb/sound.cpp
parentfb7246f3ded3958b0f12657c2d2d238ebac86b34 (diff)
downloadscummvm-rg350-9a420d232fe55f85ef7c418b3e0c0a26ffacf69e.tar.gz
scummvm-rg350-9a420d232fe55f85ef7c418b3e0c0a26ffacf69e.tar.bz2
scummvm-rg350-9a420d232fe55f85ef7c418b3e0c0a26ffacf69e.zip
DREAMWEB: Remove a lot of unused/unneeded variables
Diffstat (limited to 'engines/dreamweb/sound.cpp')
-rw-r--r--engines/dreamweb/sound.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/dreamweb/sound.cpp b/engines/dreamweb/sound.cpp
index d27af52fbe..f1837f313a 100644
--- a/engines/dreamweb/sound.cpp
+++ b/engines/dreamweb/sound.cpp
@@ -53,9 +53,6 @@ void DreamBase::volumeAdjust() {
}
void DreamBase::playChannel0(uint8 index, uint8 repeat) {
- if (data.byte(kSoundint) == 255)
- return;
-
data.byte(kCh0playing) = index;
Sound *soundBank;
if (index >= 12) {
@@ -80,8 +77,6 @@ void DreamGenContext::playChannel0() {
}
void DreamBase::playChannel1(uint8 index) {
- if (data.byte(kSoundint) == 255)
- return;
if (data.byte(kCh1playing) == 7)
return;