diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 01:24:58 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-22 01:24:58 +0200 |
commit | 451f2ca7c8d832d2691dde2510e613373c312cd1 (patch) | |
tree | 936a5222f7b6ac947561542b48f86c264a6f72d7 /src/cgame/cg_players.c | |
parent | dc87cba52101aa4c6ad94c652460bff8520231bd (diff) |
Remove Basilisk and Advanced Basilisk.
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 60 |
1 files changed, 0 insertions, 60 deletions
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 ); } // |