diff options
Diffstat (limited to 'network_data.c')
-rw-r--r-- | network_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_data.c b/network_data.c index 54604c3ed..827081a4e 100644 --- a/network_data.c +++ b/network_data.c @@ -42,7 +42,7 @@ Packet *NetworkSend_Init(PacketType type) void NetworkSend_uint8(Packet *packet, uint8 data) { assert(packet->size < sizeof(packet->buffer) - sizeof(data)); - packet->buffer[packet->size++] = data & 0xFF; + packet->buffer[packet->size++] = data; } void NetworkSend_uint16(Packet *packet, uint16 data) |