Fixed a spam bug when watching mvds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2544 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9af21d3741
commit
5a496fe19e
1 changed files with 7 additions and 4 deletions
|
@ -489,11 +489,14 @@ void Cam_Track(int pnum, usercmd_t *cmd)
|
|||
|
||||
VectorCopy(player->viewangles, cl.viewangles[pnum]);
|
||||
if (memcmp(player->origin, &self->origin, sizeof(player->origin)) != 0)
|
||||
{
|
||||
if (!cls.demoplayback)
|
||||
{
|
||||
MSG_WriteByte (&cls.netchan.message, clc_tmove);
|
||||
MSG_WriteCoord (&cls.netchan.message, player->origin[0]);
|
||||
MSG_WriteCoord (&cls.netchan.message, player->origin[1]);
|
||||
MSG_WriteCoord (&cls.netchan.message, player->origin[2]);
|
||||
}
|
||||
// move there locally immediately
|
||||
VectorCopy(player->origin, self->origin);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue