diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/i_oplmusic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/i_oplmusic.c b/src/i_oplmusic.c index 54f92465..7715465e 100644 --- a/src/i_oplmusic.c +++ b/src/i_oplmusic.c @@ -732,9 +732,8 @@ static void ReplaceExistingVoice(void) for (rover = voice_alloced_list; rover != NULL; rover = rover->next) { - if (rover->current_instr_voice > result->current_instr_voice - || (rover->current_instr_voice == result->current_instr_voice - && rover->channel >= result->channel)) + if (rover->current_instr_voice != 0 + || rover->channel >= result->channel) { result = rover; } |