summaryrefslogtreecommitdiff
path: root/src/protocol.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-04-30 19:18:50 +0200
committerAldrik Ramaekers <aldrik@amftech.nl>2023-04-30 19:18:50 +0200
commit3767d1ce3e2b90d4eb667985c0997cb5293cc27e (patch)
treea3a9671aefd322794518c55105ea0085e1d73d09 /src/protocol.c
parent784b123af41337c57535b80c15fe13b62dfc1e66 (diff)
work
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c2
1 files changed, 1 insertions, 1 deletions
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)
{