/* * CG_ElectroTrail2 */ void CG_ElectroTrail2( const vec3_t start, const vec3_t end, int team ) { vec4_t color = { 1.0f, 1.0f, 1.0f, 1.0f }; if( cg_ebbeam_time->value < 0.05f ) { return; } if( cg_teamColoredBeams->integer && ( ( team == TEAM_ALPHA ) || ( team == TEAM_BETA ) ) ) { CG_TeamColor( team, color ); } if( cg_ebbeam_old->integer ) { CG_ElectroPolyBeam( start, end, team ); CG_ElectroIonsTrail( start, end, color ); } else { CG_ElectroPolyBeam(start, end, team); CG_ElectroRings( start, end, color ); CG_ElectroIonsTrail2( start, end, color ); } }
/* * CG_ElectroTrail2 */ void CG_ElectroTrail2( vec3_t start, vec3_t end, int team ) { CG_ElectroPolyBeam( start, end, team ); CG_ElectroIonsTrail( start, end ); }