Skip to content

Commit 2969b92

Browse files
committed
gameplay: quick fix uber can now block captures
quick fix uber was changed so that it can no longer capture objectives however, unlike ubercharge which cannot capture objectives but can block captures, the quick fix was never updated to have this mechanic
1 parent 8b57c99 commit 2969b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/shared/tf/tf_gamerules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16390,7 +16390,7 @@ bool CTFGameRules::PlayerMayBlockPoint( CBasePlayer *pPlayer, int iPointIndex, c
1639016390
#endif
1639116391

1639216392
// Invuln players can block points
16393-
if ( pTFPlayer->m_Shared.IsInvulnerable() )
16393+
if ( pTFPlayer->m_Shared.IsInvulnerable()|| pTFPlayer->m_Shared.InCond( TF_COND_MEGAHEAL ) )
1639416394
{
1639516395
if ( pszReason )
1639616396
{

0 commit comments

Comments
 (0)