From 81b5839ab1ee28a5acd1e903ae83064bd5c80283 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 19 Apr 2014 15:04:13 -0400 Subject: server: Fix sending of WAD/DEH checksums to clients. Clients receive the WAD and dehacked checksums of the controlling player and are supposed to display a warning at the startup screen if they do not match. However, reversed logic in the code that sends the waiting data to clients meant that they were always sent their own checksums, so the error message was never displayed. This fixes #384. --- src/net_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net_server.c') diff --git a/src/net_server.c b/src/net_server.c index ef0ab7b5..1b8e934d 100644 --- a/src/net_server.c +++ b/src/net_server.c @@ -412,7 +412,7 @@ static void NET_SV_SendWaitingData(net_client_t *client) // If no controller found (?), send the details that the client // is expecting anyway. - if (controller != NULL) + if (controller == NULL) { controller = client; } -- cgit v1.2.3