aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/rjp1.cpp
diff options
context:
space:
mode:
authorGregory Montoir2007-02-24 18:39:08 +0000
committerGregory Montoir2007-02-24 18:39:08 +0000
commit11e679845d49f5a13e7311b6e5bebc7827a26878 (patch)
tree18385f7c9a0d5c26b81acc2daeae15ce1142edea /sound/mods/rjp1.cpp
parentd350830d7c209a02d9dde3801390c902980dbde7 (diff)
downloadscummvm-rg350-11e679845d49f5a13e7311b6e5bebc7827a26878.tar.gz
scummvm-rg350-11e679845d49f5a13e7311b6e5bebc7827a26878.tar.bz2
scummvm-rg350-11e679845d49f5a13e7311b6e5bebc7827a26878.zip
some fixes and additions for FOTAQ amiga versions
svn-id: r25825
Diffstat (limited to 'sound/mods/rjp1.cpp')
-rw-r--r--sound/mods/rjp1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/mods/rjp1.cpp b/sound/mods/rjp1.cpp
index f2967181cb..8366137b0d 100644
--- a/sound/mods/rjp1.cpp
+++ b/sound/mods/rjp1.cpp
@@ -227,7 +227,9 @@ void Rjp1::turnOffChannel(Rjp1Channel *channel) {
void Rjp1::playChannel(Rjp1Channel *channel) {
if (channel->active) {
turnOnChannel(channel);
- playSongSequence(channel);
+ if (channel->sequenceData) {
+ playSongSequence(channel);
+ }
modulateVolume(channel);
modulatePeriod(channel);
}