fixed bug that allowed accidental speed cheating with cl_movement 1 mode (move->time...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Feb 2006 07:20:28 +0000 (07:20 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Feb 2006 07:20:28 +0000 (07:20 +0000)
commit73f3826ee6eb1c4e7300fa9e680f7affdbb8800c
tree9f56c42dcb77a9a75209e71a7c020067d262d264
parent4fee4f9c626b47bf2bad22599c257b8d17da3aa3
fixed bug that allowed accidental speed cheating with cl_movement 1 mode (move->time was being cleared by ApplyClientMove, so when ReadClientMove calculated how much to move since the last move, it always thought the last move was at time == 0, and then it clamped this delta to 0.1 or less, which prevented it from being completely ridiculous, but still horrible)
added kicking of speed cheaters (if they echo a timestamp that has not yet been issued by the server, they're clearly lying)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5988 d7cf8633-e32d-0410-b094-e92efae38249
sv_user.c