From aa939642d6468ef10cd9aa03f0ace5deeab08992 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 7 Oct 2018 05:23:34 +0000 Subject: [PATCH] Fix MV_GetNextWAVBlock() to no longer check if the unsigned BlockLength value is less than 0. git-svn-id: https://svn.eduke32.com/eduke32@7043 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/audiolib/src/formats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/audiolib/src/formats.cpp b/source/audiolib/src/formats.cpp index 82705a4b6..355a0dbd9 100644 --- a/source/audiolib/src/formats.cpp +++ b/source/audiolib/src/formats.cpp @@ -31,7 +31,7 @@ static playbackstatus MV_GetNextWAVBlock(VoiceNode *voice) { - if (voice->BlockLength <= 0) + if (voice->BlockLength == 0) { if (voice->LoopStart == NULL) {