Skip to content

Commit 5bf4edb

Browse files
committed
minor typo fix
1 parent ffeb9fc commit 5bf4edb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/game/client/tf/c_tf_player.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6434,8 +6434,8 @@ void C_TFPlayer::AvoidPlayers( CUserCmd *pCmd )
64346434
if ( !pTeam )
64356435
return;
64366436

6437-
CHudUpgradePanel *pHudVote = GET_HUDELEMENT( CHudUpgradePanel );
6438-
if ( pHudVote && pHudVote->IsActive() )
6437+
CHudUpgradePanel* pUpgradePanel = GET_HUDELEMENT( CHudUpgradePanel );
6438+
if ( pUpgradePanel && pUpgradePanel->IsActive() )
64396439
{
64406440
return;
64416441
}

src/game/client/tf/player_vs_environment/c_tf_upgrades.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ void CHudUpgradePanel::SetActive( bool bActive )
596596
engine->ClientCmd_Unrestricted( "open_charinfo_direct" );
597597
}
598598

599-
// let the server know that we've close the menu with the number of upgrades
599+
// let the server know that we've closed the menu with the number of upgrades
600600
// so the response rules can do their thing
601601
KeyValues *kv = new KeyValues( "MvM_UpgradesDone" );
602602
kv->SetInt( "num_upgrades", m_nUpgradeActivity );

0 commit comments

Comments
 (0)