From 451f2ca7c8d832d2691dde2510e613373c312cd1 Mon Sep 17 00:00:00 2001 From: PaweÅ‚ Redman Date: Mon, 22 Jun 2015 01:24:58 +0200 Subject: Remove Basilisk and Advanced Basilisk. --- src/cgame/cg_players.c | 60 -------------------------------------------------- 1 file changed, 60 deletions(-) (limited to 'src/cgame/cg_players.c') diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index 29f6992..c8183e8 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -2019,50 +2019,6 @@ void CG_Player( centity_t *cent ) legs.hModel = ci->nonSegModel; legs.customSkin = ci->nonSegSkin; - // we can't hit what we can't see :P - if( es->weapon == WP_ALEVEL1_UPG ) - { - if( es->eFlags & EF_MOVER_STOP ) - { - if( !cent->invisible ) - { - cent->invisibleTime = cg.time; - cent->invisible = qtrue; - } - } - else - { - if( cent->invisible ) - { - cent->invisibleTime = cg.time; - cent->invisible = qfalse; - } - } - - if( cent->invisible ) - { - legs.shaderTime = cent->invisibleTime/1000.0f; - - if( cg.time - cent->invisibleTime < 1000.0f ) - legs.customShader = cgs.media.invisibleFadeShader; - - else{ - if( ci->team != cg.snap->ps.stats[ STAT_TEAM ] ) - legs.customShader = cgs.media.invisibleShader; - else - legs.customShader = cgs.media.invisibleShaderTeam; - } - } - else - { - if( cg.time - cent->invisibleTime < 500.0f ) - { - legs.shaderTime = (cent->invisibleTime+500.0f)/1000.0f; - legs.customShader = cgs.media.invisibleFadeShader; - } - } - } - if( ( cent->currentState.legsAnim & ~ANIM_TOGGLEBIT ) == NSPA_SWIM && es->weapon == WP_ALEVEL5) { trap_S_AddLoopingSound( cent->currentState.number, cent->lerpOrigin, vec3_origin, cgs.media.hummelSound ); @@ -2190,22 +2146,6 @@ void CG_Player( centity_t *cent ) head.renderfx = renderfx; trap_R_AddRefEntityToScene( &head ); - - - // if this player has been hit with poison cloud, add an effect PS - if( ( es->eFlags & EF_POISONCLOUDED ) && - ( es->number != cg.snap->ps.clientNum || cg.renderingThirdPerson ) ) - { - if( !CG_IsParticleSystemValid( ¢->poisonCloudedPS ) ) - cent->poisonCloudedPS = CG_SpawnNewParticleSystem( cgs.media.poisonCloudedPS ); - - CG_SetAttachmentTag( ¢->poisonCloudedPS->attachment, - head, head.hModel, "tag_head" ); - CG_SetAttachmentCent( ¢->poisonCloudedPS->attachment, cent ); - CG_AttachToTag( ¢->poisonCloudedPS->attachment ); - } - else if( CG_IsParticleSystemValid( ¢->poisonCloudedPS ) ) - CG_DestroyParticleSystem( ¢->poisonCloudedPS ); } // -- cgit