fix some stuff

This commit is contained in:
Christoph Oelckers 2023-12-12 20:33:41 +01:00
parent 39020f7f95
commit 728bbd6327
2 changed files with 2 additions and 1 deletions

View file

@ -1227,6 +1227,7 @@ set( GAME_SOURCES
common/filesystem/source/fs_findfile.cpp common/filesystem/source/fs_findfile.cpp
common/filesystem/source/fs_stringpool.cpp common/filesystem/source/fs_stringpool.cpp
common/filesystem/source/unicode.cpp common/filesystem/source/unicode.cpp
common/filesystem/source/critsec.cpp
) )

View file

@ -709,7 +709,7 @@ FileReader FUncompressedFile::GetEntryReader(uint32_t entry, bool newreader)
FileReader fr; FileReader fr;
if (entry < NumLumps) if (entry < NumLumps)
{ {
if (!Entries[entry].Flags & RESFF_COMPRESSED) if (!(Entries[entry].Flags & RESFF_COMPRESSED))
{ {
if (!newreader) if (!newreader)
{ {