diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-15 14:54:55 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-15 14:54:55 +0100 |
| commit | 8c086739e1344fb8789e89074dd962c5719ab030 (patch) | |
| tree | 86ae878cd5f90a82b7fee454e4adae69de542bb4 /src/protocol.c | |
| parent | 7b956089e6ba5162fb0b667f1c0a60f6ece90c38 (diff) | |
local session id generation, bullet icon drop, refactor
Diffstat (limited to 'src/protocol.c')
| -rw-r--r-- | src/protocol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.c b/src/protocol.c index eb0d200..cdc14b8 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -1,10 +1,11 @@ #include "../include/protocol.h" #include "../include/players.h" -network_message create_protocol_get_id_up() +network_message create_protocol_get_id_up(u32 id) { protocol_get_id_upstream *buf = (protocol_get_id_upstream *)network_buffer; buf->type = MESSAGE_GET_ID_UPSTREAM; + buf->id = id; return network_create_message(network_buffer, sizeof(protocol_get_id_upstream), MAX_NETWORK_BUFFER_SIZE); } |
