Disable MOTD properly
This commit is contained in:
parent
b496903c36
commit
f9c5950c48
@ -63,15 +63,16 @@ void CHudMOTD :: Reset( void )
|
||||
#define ROW_RANGE_MAX ( ScreenHeight - 100 )
|
||||
int CHudMOTD :: Draw( float fTime )
|
||||
{
|
||||
if( cl_hide_motd->value != 0.0f )
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
gHUD.m_iNoConsolePrint &= ~( 1 << 1 );
|
||||
if( !m_bShow )
|
||||
return 1;
|
||||
|
||||
if( cl_hide_motd->value != 0.0f )
|
||||
{
|
||||
Reset();
|
||||
return 1;
|
||||
}
|
||||
|
||||
gHUD.m_iNoConsolePrint |= 1 << 1;
|
||||
bool bScroll;
|
||||
// find the top of where the MOTD should be drawn, so the whole thing is centered in the screen
|
||||
|
Loading…
Reference in New Issue
Block a user