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

Commit

Permalink
client: fixed autoupdate server address comparison in CL_PacketEvent,…
Browse files Browse the repository at this point in the history
… refs #32

Conflicts:
	src/client/cl_main.c
  • Loading branch information
JanSimek committed Feb 25, 2013
1 parent 533519e commit a5fc000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/cl_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2586,7 +2586,7 @@ void CL_PacketEvent(netadr_t from, msg_t *msg)
static qboolean autoupdateRedirected = qfalse;

// Update server doesn't understand netchan packets
if (NET_CompareAdr(cls.autoupdateServer, clc.serverAddress)
if (NET_CompareAdr(cls.autoupdateServer, from)
&& autoupdateStarted && !autoupdateRedirected)
{
autoupdateRedirected = qtrue;
Expand Down

0 comments on commit a5fc000

Please sign in to comment.