Fix build.

This commit is contained in:
Andrey Akhmichin 2022-06-05 23:21:46 +05:00
parent 723180f497
commit 3983f44584
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
3 changed files with 1 additions and 7 deletions

View File

@ -305,11 +305,6 @@ int __MsgFunc_ServerName( const char *pszName, int iSize, void *pbuf )
#endif
return 0;
}
/*
int __MsgFunc_ScoreInfo(const char *pszName, int iSize, void *pbuf)
{
return 0;
}
#if USE_VGUI && !USE_NOVGUI_SCOREBOARD
int __MsgFunc_ScoreInfo(const char *pszName, int iSize, void *pbuf)
@ -332,6 +327,7 @@ int __MsgFunc_TeamInfo(const char *pszName, int iSize, void *pbuf)
return gViewPort->MsgFunc_TeamInfo( pszName, iSize, pbuf );
return 0;
}
#endif
int __MsgFunc_Spectator( const char *pszName, int iSize, void *pbuf )
{

View File

@ -159,7 +159,6 @@ int CHud::Redraw( float flTime, int intermission )
// Take a screenshot if the client's got the cvar set
if( CVAR_GET_FLOAT( "hud_takesshots" ) != 0 )
m_flShotTime = flTime + 1.0f; // Take a screenshot in a second
}
}
#endif
if( m_flShotTime && m_flShotTime < flTime )

View File

@ -458,7 +458,6 @@ void CWorld::Spawn( void )
{
g_fGameOver = FALSE;
Precache();
g_flWeaponCheat = CVAR_GET_FLOAT( "sv_cheats" ); // Is the impulse 101 command allowed?
}
void CWorld::Precache( void )