Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.

Commit a5fc000

Browse files
committed
client: fixed autoupdate server address comparison in CL_PacketEvent, refs #32
Conflicts: src/client/cl_main.c
1 parent 533519e commit a5fc000

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/client/cl_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,7 @@ void CL_PacketEvent(netadr_t from, msg_t *msg)
25862586
static qboolean autoupdateRedirected = qfalse;
25872587

25882588
// Update server doesn't understand netchan packets
2589-
if (NET_CompareAdr(cls.autoupdateServer, clc.serverAddress)
2589+
if (NET_CompareAdr(cls.autoupdateServer, from)
25902590
&& autoupdateStarted && !autoupdateRedirected)
25912591
{
25922592
autoupdateRedirected = qtrue;

0 commit comments

Comments
 (0)