]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
cleaned up client qc, menu qc, and server qc VM initialization a bit so they have...
[xonotic/darkplaces.git] / netconn.c
index 1ade12c331a31c390ae00667a88d7bbada744888..eec93bcc8ee109f50bef3c2b10daf1095bc21eb9 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2209,7 +2209,7 @@ static int NetConn_ServerParsePacket(lhnetsocket_t *mysocket, unsigned char *dat
                                        MSG_WriteByte(&net_message, playerNumber);
                                        MSG_WriteString(&net_message, client->name);
                                        MSG_WriteLong(&net_message, client->colors);
-                                       MSG_WriteLong(&net_message, (int)client->edict->fields.server->frags);
+                                       MSG_WriteLong(&net_message, client->frags);
                                        MSG_WriteLong(&net_message, (int)(realtime - client->connecttime));
                                        MSG_WriteString(&net_message, client->netconnection ? client->netconnection->address : "botclient");
                                        *((int *)net_message.data) = BigLong(NETFLAG_CTL | (net_message.cursize & NETFLAG_LENGTH_MASK));