From c0f0dcb4b8885e035199a1abcbef4e240306e0ea Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 11 Oct 2001 04:43:40 +0000 Subject: [PATCH] sort of apply Serplord's chasecam fix (it wasn't complete) --- qw/source/cl_cam.c | 6 +++--- qw/source/cl_ents.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qw/source/cl_cam.c b/qw/source/cl_cam.c index b50d4e537..58d50a9c9 100644 --- a/qw/source/cl_cam.c +++ b/qw/source/cl_cam.c @@ -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 diff --git a/qw/source/cl_ents.c b/qw/source/cl_ents.c index 912a65957..4771f7d0a 100644 --- a/qw/source/cl_ents.c +++ b/qw/source/cl_ents.c @@ -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 ();