sort of apply Serplord's chasecam fix (it wasn't complete)

This commit is contained in:
Bill Currie 2001-10-11 04:43:40 +00:00
parent a1b7850e47
commit c0f0dcb4b8
2 changed files with 6 additions and 6 deletions

View File

@ -159,12 +159,12 @@ qboolean
Cam_DrawPlayer (int playernum)
{
if (cl.chase == 0 || chase_active->int_val == 0)
return true;
return false;
if (cl.spectator && autocam && locked && cl_chasecam->int_val &&
spec_track == playernum)
return false;
return true;
return true;
return false;
}
void

View File

@ -805,7 +805,7 @@ CL_LinkPlayers (void)
// things (due to lack of lights?), so I'm leaving this as is for now.
// the player object never gets added
if (j == cl.playernum && Cam_DrawPlayer (j)) {
if (j == cl.playernum && !Cam_DrawPlayer (j)) {
r_player_entity = &cl_player_ents[state - frame->playerstate];
continue;
}
@ -819,8 +819,8 @@ CL_LinkPlayers (void)
|| i == 93 || i == 102))
continue;
if (!Cam_DrawPlayer (j))
continue;
//if (Cam_DrawPlayer (j))
// continue;
// grab an entity to fill in
ent = R_NewEntity ();