File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed
Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 2626#include " tier0/memdbgon.h"
2727
2828#ifdef BDSBASE
29- #ifndef TF_CLIENT_DLL
29+ #ifdef TF_CLIENT_DLL
30+ ConVar r_classic_blood (" r_classic_blood" , " 0" , FCVAR_DEVELOPMENTONLY);
31+ #else
3032ConVar r_classic_blood (" r_classic_blood" , " 0" , FCVAR_ARCHIVE);
3133#endif
3234#endif
@@ -510,7 +512,6 @@ void BloodImpactCallback( const CEffectData & data )
510512 bool bFoundBlood = false ;
511513
512514#ifdef BDSBASE
513- #ifndef TF_CLIENT_DLL
514515 if (!r_classic_blood.GetBool ())
515516 {
516517 // Find which sort of blood we are
@@ -526,20 +527,6 @@ void BloodImpactCallback( const CEffectData & data )
526527 }
527528 }
528529 }
529- #else
530- // Find which sort of blood we are
531- for (int i = 0 ; i < ARRAYSIZE (bloodCallbacks); i++)
532- {
533- if (bloodCallbacks[i].nColor == data.m_nColor )
534- {
535- QAngle vecAngles;
536- VectorAngles (-data.m_vNormal , vecAngles);
537- DispatchParticleEffect (bloodCallbacks[i].lpszParticleSystemName , data.m_vOrigin , vecAngles);
538- bFoundBlood = true ;
539- break ;
540- }
541- }
542- #endif
543530#else
544531 // Find which sort of blood we are
545532 for (int i = 0 ; i < ARRAYSIZE (bloodCallbacks); i++)
You can’t perform that action at this time.
0 commit comments