diff options
Diffstat (limited to 'src/protocol.c')
| -rw-r--r-- | src/protocol.c | 2 |
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) { |
