Skip to content

Commit

Permalink
Netchan_CopyFileFragments: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Dec 11, 2024
1 parent 4afb6e3 commit 1a68407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rehlds/engine/net_chan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ qboolean Netchan_CopyFileFragments(netchan_t *chan)
// malformed data or compressed data exceeding sv_net_incoming_decompression_max_size
success = FALSE;
}
else if (!Netchan_ValidateDecompress(chan, FRAG_NORMAL_STREAM, compressedSize, uncompressedSize))
else if (!Netchan_ValidateDecompress(chan, FRAG_FILE_STREAM, compressedSize, uncompressedSize))
{
success = FALSE;
}
Expand Down

0 comments on commit 1a68407

Please sign in to comment.