mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-30 20:50:42 +00:00
cut some spam
This commit is contained in:
parent
212e40b54a
commit
e698af0208
1 changed files with 2 additions and 4 deletions
|
@ -184,7 +184,7 @@ void
|
||||||
Cam_Lock (int playernum)
|
Cam_Lock (int playernum)
|
||||||
{
|
{
|
||||||
char st[40];
|
char st[40];
|
||||||
printf ("Cam_Lock: %d\n", playernum);
|
|
||||||
snprintf (st, sizeof (st), "ptrack %i", playernum);
|
snprintf (st, sizeof (st), "ptrack %i", playernum);
|
||||||
if (cls.demoplayback2) {
|
if (cls.demoplayback2) {
|
||||||
memcpy(cl.stats, cl.players[playernum].stats, sizeof (cl.stats));
|
memcpy(cl.stats, cl.players[playernum].stats, sizeof (cl.stats));
|
||||||
|
@ -450,8 +450,7 @@ Cam_Track (usercmd_t *cmd)
|
||||||
VectorCopy (player->viewangles, cl.viewangles);
|
VectorCopy (player->viewangles, cl.viewangles);
|
||||||
VectorCopy (player->origin, desired_position);
|
VectorCopy (player->origin, desired_position);
|
||||||
if (memcmp (&desired_position, &self->origin,
|
if (memcmp (&desired_position, &self->origin,
|
||||||
sizeof (desired_position))
|
sizeof (desired_position)) != 0) {
|
||||||
!= 0) {
|
|
||||||
MSG_WriteByte (&cls.netchan.message, clc_tmove);
|
MSG_WriteByte (&cls.netchan.message, clc_tmove);
|
||||||
MSG_WriteCoordV (&cls.netchan.message, desired_position);
|
MSG_WriteCoordV (&cls.netchan.message, desired_position);
|
||||||
// move there locally immediately
|
// move there locally immediately
|
||||||
|
@ -628,7 +627,6 @@ Cam_FinishMove (usercmd_t *cmd)
|
||||||
s = &cl.players[i];
|
s = &cl.players[i];
|
||||||
if (s->name[0] && !s->spectator) {
|
if (s->name[0] && !s->spectator) {
|
||||||
Cam_Lock (i);
|
Cam_Lock (i);
|
||||||
Con_Printf("tracking %s\n", s->name);
|
|
||||||
ideal_track = i;
|
ideal_track = i;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue