Fix DP_SV_PLAYERPHYSICS
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@171 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fbe070f46d
commit
f1759c3619
1 changed files with 5 additions and 5 deletions
|
@ -4563,18 +4563,18 @@ void SV_ClientThink (void)
|
||||||
{
|
{
|
||||||
vec3_t v_angle;
|
vec3_t v_angle;
|
||||||
|
|
||||||
sv_player->v.movement[0] = cmd.forwardmove * host_frametime;
|
sv_player->v.movement[0] = cmd.forwardmove;
|
||||||
sv_player->v.movement[1] = cmd.sidemove * host_frametime;
|
sv_player->v.movement[1] = cmd.sidemove;
|
||||||
sv_player->v.movement[2] = cmd.upmove * host_frametime;
|
sv_player->v.movement[2] = cmd.upmove;
|
||||||
|
|
||||||
/* if (SV_PlayerPhysicsQC)
|
if (SV_PlayerPhysicsQC)
|
||||||
{
|
{
|
||||||
pr_global_struct->time = sv.time;
|
pr_global_struct->time = sv.time;
|
||||||
pr_global_struct->self = EDICT_TO_PROG(svprogfuncs, sv_player);
|
pr_global_struct->self = EDICT_TO_PROG(svprogfuncs, sv_player);
|
||||||
PR_ExecuteProgram (svprogfuncs, SV_PlayerPhysicsQC);
|
PR_ExecuteProgram (svprogfuncs, SV_PlayerPhysicsQC);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
if (sv_player->v.movetype == MOVETYPE_NONE)
|
if (sv_player->v.movetype == MOVETYPE_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue