diff options
author | Tim Angus <tim@ngus.net> | 2001-09-15 23:58:27 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-09-15 23:58:27 +0000 |
commit | 0dd20c247521f466587fb32ade318f372dd1a3e8 (patch) | |
tree | 88ee86475c71db8f2eb9d1d35e69832fd23964a1 /src/cgame/cg_players.c | |
parent | 1b02716b661584dddb150e6346aeed3934be418a (diff) |
Commit before I play with TA menus
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 10 |
1 files changed, 4 insertions, 6 deletions
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 ); |