Temporary workaround for the DP_SV_BOTCLIENT speedbug on listen servers. Needs some proper fixing!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2745 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9bc87fc9ab
commit
48933f0862
1 changed files with 5 additions and 0 deletions
|
@ -2031,7 +2031,12 @@ qboolean SV_Physics (void)
|
|||
|
||||
SV_PreRunCmd();
|
||||
|
||||
#ifdef SERVERONLY
|
||||
ucmd.msec = host_frametime*1000;
|
||||
#else
|
||||
// FIXME: Something very weird is going on here!
|
||||
ucmd.msec = 0;
|
||||
#endif
|
||||
ucmd.angles[0] = (int)(sv_player->v->angles[0] * (65535/360.0f));
|
||||
ucmd.angles[1] = (int)(sv_player->v->angles[1] * (65535/360.0f));
|
||||
ucmd.angles[2] = (int)(sv_player->v->angles[2] * (65535/360.0f));
|
||||
|
|
Loading…
Reference in a new issue