From 3767d1ce3e2b90d4eb667985c0997cb5293cc27e Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 30 Apr 2023 19:18:50 +0200 Subject: work --- src/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol.c') diff --git a/src/protocol.c b/src/protocol.c index 555295c..e0af132 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -1,7 +1,7 @@ #include "../include/protocol.h" #include "../include/players.h" -#define alloc_network_message(_type) mem_alloc(sizeof(_type) + 20); +#define alloc_network_message(_type) mem_alloc(sizeof(_type) + NETWORK_PACKET_OVERHEAD); network_message create_protocol_get_id_up(u32 id) { -- cgit v1.2.3-70-g09d2