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
This commit is contained in:
terminx 2018-10-07 05:23:34 +00:00
parent f5928ad5c7
commit aa939642d6

View file

@ -31,7 +31,7 @@
static playbackstatus MV_GetNextWAVBlock(VoiceNode *voice) static playbackstatus MV_GetNextWAVBlock(VoiceNode *voice)
{ {
if (voice->BlockLength <= 0) if (voice->BlockLength == 0)
{ {
if (voice->LoopStart == NULL) if (voice->LoopStart == NULL)
{ {