Skip to content

Commit

Permalink
Fix CStreamingSA::GetUnusedStreamHandle (#3110)
Browse files Browse the repository at this point in the history
  • Loading branch information
tederis committed Jul 9, 2023
1 parent e4e6d1b commit 38624a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/game_sa/CStreamingSA.cpp
Expand Up @@ -210,7 +210,7 @@ unsigned char CStreamingSA::GetUnusedStreamHandle()
{
for (size_t i = 0; i < VAR_StreamHandlersMaxCount; i++)
{
if (m_aStreamingHandlers[i])
if (!m_aStreamingHandlers[i])
return (unsigned char)i;
}
return -1;
Expand Down

0 comments on commit 38624a4

Please sign in to comment.