mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 16:07:45 +00:00
- - let FWadLump use the newly added fdopen function.
This commit is contained in:
parent
9cc8bab102
commit
e1edb46bbb
1 changed files with 1 additions and 1 deletions
|
@ -1554,7 +1554,7 @@ FWadLump::FWadLump(int lumpnum, FResourceLump *lump)
|
||||||
// Uncompressed lump in a file. For this we will have to open a new FILE, since we need it for streaming
|
// Uncompressed lump in a file. For this we will have to open a new FILE, since we need it for streaming
|
||||||
int fileno = Wads.GetLumpFile(lumpnum);
|
int fileno = Wads.GetLumpFile(lumpnum);
|
||||||
const char *filename = Wads.GetWadFullName(fileno);
|
const char *filename = Wads.GetWadFullName(fileno);
|
||||||
File = fopen(filename, "rb");
|
File = openfd(filename);
|
||||||
if (File != NULL)
|
if (File != NULL)
|
||||||
{
|
{
|
||||||
Length = lump->LumpSize;
|
Length = lump->LumpSize;
|
||||||
|
|
Loading…
Reference in a new issue