diff --git a/qw/source/net_chan.c b/qw/source/net_chan.c index 250e23fd1..5ebe64adc 100644 --- a/qw/source/net_chan.c +++ b/qw/source/net_chan.c @@ -287,7 +287,7 @@ Netchan_Transmit (netchan_t *chan, int length, byte * data) // send the qport if we are a client if (!is_server) - MSG_WriteShort (&send, (unsigned short) cls.qport); + MSG_WriteShort (&send, cls.qport); // copy the reliable message to the packet first if (send_reliable) {