From 1a684077109023f86cfe9b70d6a1bba92a35c5f6 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Thu, 12 Dec 2024 04:35:38 +0700 Subject: [PATCH] Netchan_CopyFileFragments: fix typo --- rehlds/engine/net_chan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/net_chan.cpp b/rehlds/engine/net_chan.cpp index b1f9a359..1febfdbc 100644 --- a/rehlds/engine/net_chan.cpp +++ b/rehlds/engine/net_chan.cpp @@ -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; }