- fix our favorite svc_updatefrags overflow bug! weeeeee

This commit is contained in:
Adam Olsen 2001-09-24 18:26:23 +00:00
parent 5330fd5651
commit 5d757c0d85

View file

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