From 0dd20c247521f466587fb32ade318f372dd1a3e8 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 15 Sep 2001 23:58:27 +0000 Subject: Commit before I play with TA menus --- src/cgame/cg_players.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/cgame/cg_players.c') diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index 7dba674c..5237b61b 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1906,17 +1906,15 @@ void CG_Player( centity_t *cent ) trap_R_AddRefEntityToScene( &legs ); // if the model failed, allow the default nullmodel to be displayed - if (!legs.hModel) { + if( !legs.hModel ) return; - } // // add the torso // torso.hModel = ci->torsoModel; - if (!torso.hModel) { + if( !torso.hModel ) return; - } torso.customSkin = ci->torsoSkin; @@ -1939,9 +1937,9 @@ void CG_Player( centity_t *cent ) // add the head // head.hModel = ci->headModel; - if (!head.hModel) { + if( !head.hModel ) return; - } + head.customSkin = ci->headSkin; VectorCopy( cent->lerpOrigin, head.lightingOrigin ); -- cgit