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:
parent
e84cf19ffc
commit
73cfeca6f3
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue