From ae41ff3fb3d8d2f1df63fa9d4ab531de0baf18a0 Mon Sep 17 00:00:00 2001 From: ChillerDragon Date: Sun, 23 Apr 2023 11:51:34 +0200 Subject: [PATCH] Fix `NET_MAX_CHUNKHEADERSIZE` `5` -> `3` Probably has no big impact but 5 is just wrong. Was also casually fixed in upstream. https://github.com/teeworlds/teeworlds/commit/c2e5771a15c35987b9e88057d579cfaeb0c36f8b#diff-706d36dc3648350992fd7fb372d2461cbddcec7ac79f1f905f329ada2bcda814L49 --- src/engine/shared/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/network.h b/src/engine/shared/network.h index 7a3a7fee4..8dc323f26 100644 --- a/src/engine/shared/network.h +++ b/src/engine/shared/network.h @@ -57,7 +57,7 @@ enum NET_MAX_PACKETSIZE = 1400, NET_MAX_PAYLOAD = NET_MAX_PACKETSIZE - 6, - NET_MAX_CHUNKHEADERSIZE = 5, + NET_MAX_CHUNKHEADERSIZE = 3, NET_PACKETHEADERSIZE = 3, NET_MAX_CLIENTS = 64, NET_MAX_CONSOLE_CLIENTS = 4,