mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
temporary fix to handle wav files in a pak file
This commit is contained in:
parent
725f1d0595
commit
5be73df678
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ riff_read (QFile *f)
|
|||
dstring_delete (riff_buf);
|
||||
return 0;
|
||||
}
|
||||
while (Rread (f, &ck, sizeof (ck))) {
|
||||
//FIXME the pos test should be in quakeio
|
||||
while (Qtell (f) < file_len && Rread (f, &ck, sizeof (ck))) {
|
||||
ck.len = LittleLong (ck.len);
|
||||
//printf ("%.4s %d\n", ck.name, ck.len);
|
||||
if (ck.len < 0x80000000)
|
||||
|
|
Loading…
Reference in a new issue