- cast cls.qport to (unsigned short) when passing to networking, so it

doesn't trigger PARANOID in msg.c
This commit is contained in:
Adam Olsen 2001-11-29 06:54:38 +00:00
parent 74e074bbef
commit 0688e3a197

View file

@ -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, cls.qport);
MSG_WriteShort (&send, (unsigned short) cls.qport);
// copy the reliable message to the packet first
if (send_reliable) {