File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,15 @@ bool CTFRevolver::Deploy( void )
389389// -----------------------------------------------------------------------------
390390void CTFRevolver::Detach ( void )
391391{
392+ #ifdef BDSBASE
393+ // Reset always to avoid switching to Diamondback giving crits from earlier kills
394+ CTFPlayer* pPlayer = GetTFPlayerOwner ();
395+ if (pPlayer)
396+ {
397+ pPlayer->m_Shared .SetRevengeCrits (0 );
398+ pPlayer->m_Shared .RemoveCond (TF_COND_CRITBOOSTED);
399+ }
400+ #else
392401 if ( SapperKillsCollectCrits () )
393402 {
394403 CTFPlayer *pPlayer = GetTFPlayerOwner ();
@@ -398,6 +407,7 @@ void CTFRevolver::Detach( void )
398407 pPlayer->m_Shared .RemoveCond ( TF_COND_CRITBOOSTED );
399408 }
400409 }
410+ #endif
401411
402412 BaseClass::Detach ();
403413}
You can’t perform that action at this time.
0 commit comments