From ed009f1449b207a0ca5deec97eb0b67bac015887 Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Wed, 19 Jan 2000 22:51:34 +0000 Subject: [PATCH] Ok, no more false triggers.. --- qw_server/sv_user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qw_server/sv_user.c b/qw_server/sv_user.c index 29e4ffb..f77319f 100644 --- a/qw_server/sv_user.c +++ b/qw_server/sv_user.c @@ -1368,7 +1368,7 @@ void SV_PreRunCmd(void) /* maximum msec offset we will allow before penalizing the player */ #define POOLMAX 150 -#define CHECK_TIME 10 +#define CHECK_TIME 30 /* =========== SV_RunCmd @@ -1385,8 +1385,8 @@ void SV_RunCmd (usercmd_t *ucmd, qboolean inside) host_client->msecs += ucmd->msec; if ((tmp_time = realtime - host_client->last_check) >= CHECK_TIME) { - tmp_time *= 1025; - if (host_client->msecs > tmp_time) { + tmp_time *= 1100; + if (host_client->msecs > (int) (tmp_time + 0.5)) { host_client->msec_cheating++; SV_BroadcastPrintf(PRINT_HIGH, va("Err, %s may be CHEATING! %d %f %d\n",