backport the svc_updatefrags flood fix

This commit is contained in:
Bill Currie 2001-10-19 16:43:15 +00:00
parent f15ca83c60
commit aed7b1c08d

View file

@ -649,7 +649,7 @@ SV_UpdateToReliableMessages (void)
host_client->sendinfo = false; host_client->sendinfo = false;
SV_FullClientUpdate (host_client, &sv.reliable_datagram); SV_FullClientUpdate (host_client, &sv.reliable_datagram);
} }
if (host_client->old_frags != host_client->edict->v.v.frags) { if (host_client->old_frags != (int) host_client->edict->v.v.frags) {
for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) { for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) {
if (client->state < cs_connected) if (client->state < cs_connected)
continue; continue;