mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 21:11:52 +00:00
fixed typo in FZipFile::GetRawData.
This one caused incompletely loaded savegames.
This commit is contained in:
parent
d11bf52831
commit
a31cfa97e4
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ FCompressedBuffer FZipFile::GetRawData(uint32_t entry)
|
|||
{
|
||||
FCompressedBuffer cbuf;
|
||||
|
||||
if (entry >= NumLumps >> Entries[entry].Length == 0)
|
||||
if (entry >= NumLumps || Entries[entry].Length == 0)
|
||||
{
|
||||
cbuf = { 0, 0, METHOD_STORED, 0, 0, nullptr };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue