Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/game/client/tf/tf_hud_freezepanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ void CTFFreezePanel::FireGameEvent( IGameEvent * event )
}

// If our killer is using a powerup, show the details of that powerup
if ( pTFPlayerKiller && pTFPlayerKiller->m_Shared.IsCarryingRune() )
static ConVarRef sv_freezepanel_hide_rune( "sv_freezepanel_hide_rune" );
if ( pTFPlayerKiller && pTFPlayerKiller->m_Shared.IsCarryingRune() && !sv_freezepanel_hide_rune.GetBool() )
{
static CSchemaItemDefHandle rgPowerupItems [] = { CSchemaItemDefHandle( "Powerup Strength" )
, CSchemaItemDefHandle( "Powerup Haste" )
Expand Down Expand Up @@ -460,7 +461,8 @@ void CTFFreezePanel::FireGameEvent( IGameEvent * event )
}
}

if ( bShowItem )
static ConVarRef sv_freezepanel_hide_item( "sv_freezepanel_hide_item" );
if ( bShowItem && !sv_freezepanel_hide_item.GetBool() )
{
Label* pItemLabel = m_pItemPanel->FindControl<Label>( "ItemLabel" );
CEconItemView *pItemToShow = pWeapon->GetAttributeContainer()->GetItem();
Expand Down
2 changes: 2 additions & 0 deletions src/game/shared/tf/tf_gamerules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,8 @@ ConVar tf_mvm_respec_credit_goal( "tf_mvm_respec_credit_goal", "2000", FCVAR_CHE
ConVar tf_mvm_buybacks_method( "tf_mvm_buybacks_method", "0", FCVAR_REPLICATED | FCVAR_HIDDEN, "When set to 0, use the traditional, currency-based system. When set to 1, use finite, charge-based system.", true, 0.0, true, 1.0 );
ConVar tf_mvm_buybacks_per_wave( "tf_mvm_buybacks_per_wave", "3", FCVAR_REPLICATED | FCVAR_HIDDEN, "The fixed number of buybacks players can use per-wave." );

ConVar sv_freezepanel_hide_item( "sv_freezepanel_hide_item", "0", FCVAR_REPLICATED, "If non-zero items will not show in the death freeze panel" );
ConVar sv_freezepanel_hide_rune( "sv_freezepanel_hide_rune", "0", FCVAR_REPLICATED, "If non-zero runes will not show in the death freeze panel" );

#ifdef GAME_DLL
enum { kMVM_CurrencyPackMinSize = 1, };
Expand Down