mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-04-24 23:31:49 +00:00
This hopefully fixes the problem with feigning spies in TF staying visible when cl_deadbodyfilter is on.
This commit is contained in:
parent
cf8afd73a3
commit
9698c439dc
1 changed files with 6 additions and 1 deletions
|
@ -911,7 +911,7 @@ for all current players
|
||||||
*/
|
*/
|
||||||
void CL_LinkPlayers (void)
|
void CL_LinkPlayers (void)
|
||||||
{
|
{
|
||||||
int j;
|
int i, j;
|
||||||
player_info_t *info;
|
player_info_t *info;
|
||||||
player_state_t *state;
|
player_state_t *state;
|
||||||
player_state_t exact;
|
player_state_t exact;
|
||||||
|
@ -962,6 +962,11 @@ void CL_LinkPlayers (void)
|
||||||
if (!state->modelindex)
|
if (!state->modelindex)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// Hack hack hack
|
||||||
|
if (cl_deadbodyfilter->value && state->modelindex == cl_playerindex
|
||||||
|
&& ( (i=state->frame)==49 || i==60 || i==69 || i==84 || i==93 || i==102) )
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!Cam_DrawPlayer(j))
|
if (!Cam_DrawPlayer(j))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue