Browse Source

Fix shadowing variables.

aghl
Night Owl 8 years ago
parent
commit
968ba1be98
  1. 2
      cl_dll/aghl/aghudglobal.cpp
  2. 2
      dlls/aghl/agctf.cpp

2
cl_dll/aghl/aghudglobal.cpp

@ -172,7 +172,7 @@ int AgHudGlobal::Draw( float fTime ) @@ -172,7 +172,7 @@ int AgHudGlobal::Draw( float fTime )
int lowest_deaths = 99999;
int best_player = 0;
for( int i = 1; i < MAX_PLAYERS; i++ )
for( i = 1; i < MAX_PLAYERS; i++ )
{
if( g_PlayerInfoList[i].name && g_PlayerExtraInfo[i].frags >= highest_frags )
{

2
dlls/aghl/agctf.cpp

@ -805,8 +805,6 @@ BOOL AgCTFFlag::MyTouch( CBasePlayer *pPlayer ) @@ -805,8 +805,6 @@ BOOL AgCTFFlag::MyTouch( CBasePlayer *pPlayer )
MESSAGE_END();
//Let all players hear and read that the flag is gone
char szText[201];
if (FStrEq(CTF_TEAM1_NAME, m_szTeamName))
{
if (!g_bTeam1FlagLost)

Loading…
Cancel
Save