summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/network.c b/network.c
index 1d9064425..95063afcc 100644
--- a/network.c
+++ b/network.c
@@ -40,10 +40,6 @@ struct Library *SocketBase = NULL;
// The listen socket for the server
static SOCKET _listensocket;
-// Network copy of patches, so the patches of a client are not fucked up
-// after he joined a server
-static Patches network_tmp_patches;
-
// The amount of clients connected
static byte _network_clients_connected = 0;
// The index counter for new clients (is never decreased)
@@ -651,8 +647,6 @@ static bool NetworkConnect(const char *hostname, int port)
ShowJoinStatusWindow();
- memcpy(&network_tmp_patches, &_patches, sizeof(_patches));
-
return true;
}
@@ -1087,10 +1081,6 @@ void NetworkDisconnect(void)
free(p);
}
- if (_networking && !_network_server) {
- memcpy(&_patches, &network_tmp_patches, sizeof(_patches));
- }
-
_networking = false;
_network_server = false;
}