Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Core/GameEngine/Source/Common/System/FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ File* FileSystem::openFile( const Char *filename, Int access, size_t bufferSize
if (it != m_fileExist.end())
{
++it->second.instanceExists;
if (it->second.instanceDoesNotExist != ~FileInstance(0))
// TheSuperHackers @bugfix arcticdolphin 11/10/2026 Cast the complement back, it is promoted to int.
if (it->second.instanceDoesNotExist != FileInstance(~FileInstance(0)))
++it->second.instanceDoesNotExist;
}
else
Expand Down
Loading