if (!host_client->spawned)
memset(move, 0, sizeof(*move));
if (!host_client->spawned)
memset(move, 0, sizeof(*move));
{
Con_DPrintf("client move->time %f > sv.time %f, kicking\n", move->time, sv.time);
// if the client is lying about time, we have definitively detected a
{
Con_DPrintf("client move->time %f > sv.time %f, kicking\n", move->time, sv.time);
// if the client is lying about time, we have definitively detected a
// this fixes the timestamp to prevent a speed cheat from working
move->time = sv.time;
// but we kick the player for good measure
// this fixes the timestamp to prevent a speed cheat from working
move->time = sv.time;
// but we kick the player for good measure
prog->globals.server->frametime = frametime;
SV_Physics_ClientEntity(host_client->edict);
prog->globals.server->frametime = oldframetime;
}
}
prog->globals.server->frametime = frametime;
SV_Physics_ClientEntity(host_client->edict);
prog->globals.server->frametime = oldframetime;
}
}