diff options
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index cfb015ac..bbb8569d 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1850,7 +1850,15 @@ void CG_Player( centity_t *cent ) vec3_t angles; int held = es->modelindex; pTeam_t team = es->powerups & 0xFF; + static particleSystem_t *partSystem = NULL; + if( partSystem == NULL ) + { + CG_Printf( S_COLOR_GREEN "particle system created\n" ); + partSystem = CG_SpawnNewParticleSystem( cgs.media.testParticleSystem ); + CG_SetParticleSystemCent( partSystem, cent ); + CG_AttachParticleSystemToCent( partSystem ); + } // the client number is stored in clientNum. It can't be derived // from the entity number, because a single client may have // multiple corpses on the level using the same clientinfo |