1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2004-09-07 23:12:46 +00:00
parent fbe070f46d
commit f1759c3619

View file

@ -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;