mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- do not abort if FScanner cannot open a file.
This commit is contained in:
parent
504d68e2f8
commit
aaedae6972
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ bool FScanner::OpenFile (const char *name)
|
|||
{
|
||||
Close ();
|
||||
|
||||
FileReader fr(name);
|
||||
FileReader fr;
|
||||
if (!fr.Open(name)) return false;
|
||||
auto filesize = fr.GetLength();
|
||||
auto filebuf = new uint8_t[filesize];
|
||||
|
|
Loading…
Reference in a new issue