From e1edb46bbbde70733cdd6843a16a6f127dd35330 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Dec 2017 11:56:26 +0100 Subject: [PATCH] - - let FWadLump use the newly added fdopen function. --- src/w_wad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w_wad.cpp b/src/w_wad.cpp index 412450d0a..ae52725d2 100644 --- a/src/w_wad.cpp +++ b/src/w_wad.cpp @@ -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 int fileno = Wads.GetLumpFile(lumpnum); const char *filename = Wads.GetWadFullName(fileno); - File = fopen(filename, "rb"); + File = openfd(filename); if (File != NULL) { Length = lump->LumpSize;