1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2007-07-23 12:04:26 +00:00
parent 9af21d3741
commit 5a496fe19e

View file

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