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 #endif
return 0; return 0;
} }
/*
int __MsgFunc_ScoreInfo(const char *pszName, int iSize, void *pbuf)
{
return 0;
}
#if USE_VGUI && !USE_NOVGUI_SCOREBOARD #if USE_VGUI && !USE_NOVGUI_SCOREBOARD
int __MsgFunc_ScoreInfo(const char *pszName, int iSize, void *pbuf) 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 gViewPort->MsgFunc_TeamInfo( pszName, iSize, pbuf );
return 0; return 0;
} }
#endif
int __MsgFunc_Spectator( const char *pszName, int iSize, void *pbuf ) int __MsgFunc_Spectator( const char *pszName, int iSize, void *pbuf )
{ {

View File

@ -160,7 +160,6 @@ int CHud::Redraw( float flTime, int intermission )
if( CVAR_GET_FLOAT( "hud_takesshots" ) != 0 ) if( CVAR_GET_FLOAT( "hud_takesshots" ) != 0 )
m_flShotTime = flTime + 1.0f; // Take a screenshot in a second m_flShotTime = flTime + 1.0f; // Take a screenshot in a second
} }
}
#endif #endif
if( m_flShotTime && m_flShotTime < flTime ) if( m_flShotTime && m_flShotTime < flTime )
{ {

View File

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