diff --git a/cl_dll/aghl/aghudglobal.cpp b/cl_dll/aghl/aghudglobal.cpp index e6435b0b..099e0876 100644 --- a/cl_dll/aghl/aghudglobal.cpp +++ b/cl_dll/aghl/aghudglobal.cpp @@ -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 ) { diff --git a/dlls/aghl/agctf.cpp b/dlls/aghl/agctf.cpp index 4fbc5cdc..08ac3915 100644 --- a/dlls/aghl/agctf.cpp +++ b/dlls/aghl/agctf.cpp @@ -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)