Skip to content

Commit

Permalink
disable energy shield material proxy in rc
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Jun 21, 2024
1 parent abf8c30 commit 8a938d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/client/swarm/c_asw_fx_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ void CRD_ShieldFalloff_Proxy::OnBind( void *pRenderable )
return;
}

#ifdef RD_7A_WEAPONS
if ( pEnt->Classify() == CLASS_ASW_ENERGY_SHIELD_SHIELD )
{
C_ASW_Energy_Shield *pShield = assert_cast< C_ASW_Energy_Shield * >( pEnt );
Expand All @@ -645,6 +646,7 @@ void CRD_ShieldFalloff_Proxy::OnBind( void *pRenderable )
SetFloatResult( flBlink );
return;
}
#endif

SetFloatResult( 0.1f );
}
Expand Down

0 comments on commit 8a938d5

Please sign in to comment.