mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 05:22:55 +00:00
Fix shadowing variables.
This commit is contained in:
parent
a35e7b5068
commit
968ba1be98
@ -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 )
|
||||
{
|
||||
|
@ -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…
x
Reference in New Issue
Block a user