From dd3294ab7e0338e948c2f1b388700604c89d5e5a Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Mon, 27 May 2002 07:01:02 +0000 Subject: [PATCH] headless code --- reaction/cgame/cg_players.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/reaction/cgame/cg_players.c b/reaction/cgame/cg_players.c index d8f4a285..e5e95a9a 100644 --- a/reaction/cgame/cg_players.c +++ b/reaction/cgame/cg_players.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.28 2002/05/27 07:01:02 niceass +// headless code +// // Revision 1.27 2002/05/13 07:29:14 jbravo // Fixed server chrasing on incorrect models in TP and also added default skins // @@ -2878,7 +2881,10 @@ void CG_Player( centity_t *cent ) { //VectorScale( head.axis[2], 4.0f, head.axis[2] ); // End of fun - CG_AddRefEntityWithPowerups( &head, ¢->currentState, ci->team ); + // NiceAss: Headless player. + if ( !(cent->currentState.eFlags & EF_HEADLESS) ) + CG_AddRefEntityWithPowerups( &head, ¢->currentState, ci->team ); + // NiceAss: Outside the MISSIONPACK CG_BreathPuffs(cent, &head);