diff options
Diffstat (limited to 'engines/parallaction/sound.cpp')
-rw-r--r-- | engines/parallaction/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/sound.cpp b/engines/parallaction/sound.cpp index b3b0aa6839..8a00b2972f 100644 --- a/engines/parallaction/sound.cpp +++ b/engines/parallaction/sound.cpp @@ -308,7 +308,7 @@ AmigaSoundMan::~AmigaSoundMan() { } void AmigaSoundMan::playSfx(const char *filename, uint channel, bool looping, int volume, int rate) { - if (channel < 0 || channel >= NUM_AMIGA_CHANNELS) { + if (channel >= NUM_AMIGA_CHANNELS) { warning("unknown sfx channel"); return; } @@ -344,7 +344,7 @@ void AmigaSoundMan::playSfx(const char *filename, uint channel, bool looping, in } void AmigaSoundMan::stopSfx(uint channel) { - if (channel < 0 || channel >= NUM_AMIGA_CHANNELS) { + if (channel >= NUM_AMIGA_CHANNELS) { warning("unknown sfx channel"); return; } |