mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-22 17:01:12 +00:00
- cast cls.qport to (unsigned short) when passing to networking, so it
doesn't trigger PARANOID in msg.c
This commit is contained in:
parent
74e074bbef
commit
0688e3a197
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ Netchan_Transmit (netchan_t *chan, int length, byte * data)
|
||||||
|
|
||||||
// send the qport if we are a client
|
// send the qport if we are a client
|
||||||
if (!is_server)
|
if (!is_server)
|
||||||
MSG_WriteShort (&send, cls.qport);
|
MSG_WriteShort (&send, (unsigned short) cls.qport);
|
||||||
|
|
||||||
// copy the reliable message to the packet first
|
// copy the reliable message to the packet first
|
||||||
if (send_reliable) {
|
if (send_reliable) {
|
||||||
|
|
Loading…
Reference in a new issue