- changed lump reader setup for music so that for uncompressed data it opens a new FILE instead of caching the lump.

This reinstates behavior of pre-OpenAL versions but still uses the FileReader interface to keep the simplified code of the OpenAL branch.
This commit is contained in:
Christoph Oelckers 2015-04-26 23:28:05 +02:00
commit 13fb76db21
3 changed files with 46 additions and 1 deletions

View file

@ -2458,7 +2458,11 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force)
{
return false;
}
reader = Wads.ReopenLumpNum(lumpnum);
reader = Wads.ReopenLumpNumNewFile(lumpnum);
if (reader == NULL)
{
return false;
}
}
}
else