summaryrefslogtreecommitdiff
path: root/src/cgame/cg_players.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-01-04 03:29:06 +0000
committerTim Angus <tim@ngus.net>2004-01-04 03:29:06 +0000
commit5fbfe75aa0cdf3a38b0e30a23156fa5affc33996 (patch)
treeae9e5782776c39c8a179331d34eb7956b1273802 /src/cgame/cg_players.c
parent48342c98ae336ca268ddbf5acf66bfeb0b18a91b (diff)
* Rather serious remote client particle system bug fixed
* Buildable overrides now actually work * Helmet is now a skin replacement instead of model * Model destinations fixed up in the entities.def file
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r--src/cgame/cg_players.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c
index e5e2ec28..dd62695a 100644
--- a/src/cgame/cg_players.c
+++ b/src/cgame/cg_players.c
@@ -2040,16 +2040,12 @@ void CG_Player( centity_t *cent )
//
// add the head
//
+ head.hModel = ci->headModel;
+
if( held & ( 1 << UP_HELMET ) )
- {
- head.hModel = cgs.media.helmetModel;
- head.customSkin = cgs.media.helmetSkin;
- }
+ head.customSkin = cgs.media.larmourHeadSkin;
else
- {
- head.hModel = ci->headModel;
head.customSkin = ci->headSkin;
- }
if( !head.hModel )
return;