]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_dgrm.c
changed how QC interpreter handles edict field access - the entvars struct is now...
[xonotic/darkplaces.git] / net_dgrm.c
index ede9580642c12dc2e95e66f22598d5850c816714..fe34fba0d94bc64e1fcce33877da354387a80575 100644 (file)
@@ -918,7 +918,7 @@ static qsocket_t *_Datagram_CheckNewConnections (void)
                MSG_WriteByte(&net_message, playerNumber);
                MSG_WriteString(&net_message, client->name);
                MSG_WriteLong(&net_message, client->colors);
-               MSG_WriteLong(&net_message, (int)client->edict->v.frags);
+               MSG_WriteLong(&net_message, (int)client->edict->v->frags);
                MSG_WriteLong(&net_message, (int)(net_time - client->netconnection->connecttime));
                MSG_WriteString(&net_message, client->netconnection->address);
                *((int *)net_message.data) = BigLong(NETFLAG_CTL | (net_message.cursize & NETFLAG_LENGTH_MASK));