sort of apply Serplord's chasecam fix (it wasn't complete)
This commit is contained in:
parent
a1b7850e47
commit
c0f0dcb4b8
|
@ -159,12 +159,12 @@ qboolean
|
||||||
Cam_DrawPlayer (int playernum)
|
Cam_DrawPlayer (int playernum)
|
||||||
{
|
{
|
||||||
if (cl.chase == 0 || chase_active->int_val == 0)
|
if (cl.chase == 0 || chase_active->int_val == 0)
|
||||||
return true;
|
return false;
|
||||||
|
|
||||||
if (cl.spectator && autocam && locked && cl_chasecam->int_val &&
|
if (cl.spectator && autocam && locked && cl_chasecam->int_val &&
|
||||||
spec_track == playernum)
|
spec_track == playernum)
|
||||||
return false;
|
|
||||||
return true;
|
return true;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -805,7 +805,7 @@ CL_LinkPlayers (void)
|
||||||
// things (due to lack of lights?), so I'm leaving this as is for now.
|
// things (due to lack of lights?), so I'm leaving this as is for now.
|
||||||
|
|
||||||
// the player object never gets added
|
// 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];
|
r_player_entity = &cl_player_ents[state - frame->playerstate];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -819,8 +819,8 @@ CL_LinkPlayers (void)
|
||||||
|| i == 93 || i == 102))
|
|| i == 93 || i == 102))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!Cam_DrawPlayer (j))
|
//if (Cam_DrawPlayer (j))
|
||||||
continue;
|
// continue;
|
||||||
|
|
||||||
// grab an entity to fill in
|
// grab an entity to fill in
|
||||||
ent = R_NewEntity ();
|
ent = R_NewEntity ();
|
||||||
|
|
Loading…
Reference in New Issue