Removed the oldmovement code in DP_QC_BOTCLIENT. Previous commit was warning fixes in D3D.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2736 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-10-11 13:31:31 +00:00
parent 101ccd35d6
commit 458e39e36a
1 changed files with 1 additions and 10 deletions

View File

@ -2015,7 +2015,6 @@ qboolean SV_Physics (void)
static int old_bot_time; //I hate using floats for timers.
client_t *oldhost;
edict_t *oldplayer;
vec3_t oldmovement;
host_frametime = (Sys_Milliseconds() - old_bot_time) / 1000.0f;
if (1 || host_frametime >= 1 / 72.0f)
{
@ -2030,10 +2029,6 @@ qboolean SV_Physics (void)
host_client = &svs.clients[i-1];
sv_player = host_client->edict;
//oldmovement[0] = sv_player->xv->movement[0];
//oldmovement[1] = sv_player->xv->movement[1];
//oldmovement[2] = sv_player->xv->movement[2];
SV_PreRunCmd();
ucmd.msec = host_frametime*1000;
@ -2050,10 +2045,6 @@ qboolean SV_Physics (void)
SV_RunCmd(&ucmd, false);
SV_PostRunCmd();
//sv_player->xv->movement[0] = oldmovement[0];
//sv_player->xv->movement[1] = oldmovement[1];
//sv_player->xv->movement[2] = oldmovement[2];
host_client = oldhost;
sv_player = oldplayer;
}