diff options
author | Tim Angus <tim@ngus.net> | 2005-11-20 03:55:39 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-11-20 03:55:39 +0000 |
commit | e80ad4bf122eb05a5ed0c920e36cf656f98dc6e5 (patch) | |
tree | bdc1dcb2b08ed77abc72880e81989157c6003555 /src/cgame/cg_players.c | |
parent | d6312bd43317816c281150e3baf7e8204a9452d8 (diff) |
* Abstract attachment system
* Scriptable trails system
* Various other stuff I'm too tired to try and remember now
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index 18a32efc..1ef18f8b 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1631,9 +1631,10 @@ static void CG_PlayerUpgrades( centity_t *cent, refEntity_t *torso ) if( CG_IsParticleSystemValid( ¢->jetPackPS ) ) { - CG_SetParticleSystemTag( cent->jetPackPS, jetpack, jetpack.hModel, "tag_flash" ); - CG_SetParticleSystemCent( cent->jetPackPS, cent ); - CG_AttachParticleSystemToTag( cent->jetPackPS ); + CG_SetAttachmentTag( ¢->jetPackPS->attachment, + jetpack, jetpack.hModel, "tag_flash" ); + CG_SetAttachmentCent( ¢->jetPackPS->attachment, cent ); + CG_AttachToTag( ¢->jetPackPS->attachment ); } } else if( CG_IsParticleSystemValid( ¢->jetPackPS ) ) |