mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
sort of apply Serplord's chasecam fix (it wasn't complete)
This commit is contained in:
parent
a1b7850e47
commit
c0f0dcb4b8
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue