1
0
Fork 0
forked from fte/fteqw

fixing cl_chasecam 0 positioning

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@301 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-10-04 07:25:47 +00:00
parent e84cf19ffc
commit 73cfeca6f3

View file

@ -300,6 +300,7 @@ static qboolean InitFlyby(int pnum, player_state_t *self, player_state_t *player
// Cam_Unlock();
return false;
}
locked[pnum] = true;
VectorCopy(vec, desired_position[pnum]);
return true;
@ -363,7 +364,7 @@ void Cam_Track(int pnum, usercmd_t *cmd)
player = frame->playerstate + spec_track[pnum];
self = frame->playerstate + cl.playernum[pnum];
if (locked[pnum] || !Cam_IsVisible(player, desired_position[pnum]))
if (/*locked[pnum] ||*/ !Cam_IsVisible(player, desired_position[pnum]))
{
if (!locked[pnum] || realtime - cam_lastviewtime[pnum] > 0.1)
{