*/
qboolean SV_ReadClientMove (void)
{
+ qboolean kickplayer = false;
int i;
double oldmovetime;
usercmd_t *move = &host_client->cmd;
+ SV_VM_Begin();
+
oldmovetime = move->time;
// if this move has been applied, clear it, and start accumulating new data
// this fixes the timestamp to prevent a speed cheat from working
move->time = sv.time;
// but we kick the player for good measure
- return true;
+ kickplayer = true;
}
else
{
prog->globals.server->frametime = oldframetime;
}
}
- return false;
+ SV_VM_End();
+ return kickplayer;
}
void SV_ApplyClientMove (void)