fix day of defeat build
This commit is contained in:
parent
1f0ae521d6
commit
3b153bc9c3
@ -196,7 +196,7 @@ void CDODFreezePanel::FireGameEvent( IGameEvent * event )
|
||||
C_DOD_PlayerResource *tf_PR = dynamic_cast<C_DOD_PlayerResource *>(g_PR);
|
||||
if ( !tf_PR )
|
||||
{
|
||||
m_pNemesisSubPanel->SetDialogVariable( "nemesisname", NULL );
|
||||
m_pNemesisSubPanel->SetDialogVariable( "nemesisname", 0 );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -432,7 +432,7 @@ void CHudCredits::DrawLogo( void )
|
||||
}
|
||||
|
||||
vgui::HScheme scheme = vgui::scheme()->GetScheme( "ClientScheme" );
|
||||
vgui::HFont m_hTFont = vgui::scheme()->GetIScheme(scheme)->GetFont( szLogoFont );
|
||||
vgui::HFont m_hTFont = vgui::scheme()->GetIScheme(scheme)->GetFont( szLogoFont, true );
|
||||
|
||||
int iFontTall = surface()->GetFontTall ( m_hTFont );
|
||||
|
||||
@ -513,7 +513,7 @@ void CHudCredits::DrawIntroCreditsName( void )
|
||||
continue;
|
||||
|
||||
vgui::HScheme scheme = vgui::scheme()->GetScheme( "ClientScheme" );
|
||||
vgui::HFont m_hTFont = vgui::scheme()->GetIScheme(scheme)->GetFont( pCredit->szFontName );
|
||||
vgui::HFont m_hTFont = vgui::scheme()->GetIScheme(scheme)->GetFont( pCredit->szFontName, true );
|
||||
|
||||
float localTime = gpGlobals->curtime - pCredit->flTimeStart;
|
||||
|
||||
@ -675,7 +675,7 @@ void CHudCredits::PrepareIntroCredits( void )
|
||||
continue;
|
||||
|
||||
vgui::HScheme scheme = vgui::scheme()->GetScheme( "ClientScheme" );
|
||||
vgui::HFont m_hTFont = vgui::scheme()->GetIScheme(scheme)->GetFont( pCredit->szFontName );
|
||||
vgui::HFont m_hTFont = vgui::scheme()->GetIScheme(scheme)->GetFont( pCredit->szFontName, true );
|
||||
|
||||
pCredit->flYPos = m_flY + ( iSlot * surface()->GetFontTall ( m_hTFont ) );
|
||||
pCredit->flXPos = m_flX;
|
||||
|
@ -48,8 +48,8 @@ CFLAGS = {
|
||||
'common': {
|
||||
# disable thread-safe local static initialization for C++11 code, as it cause crashes on Windows XP
|
||||
'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS', '/Zc:threadSafeInit-'],
|
||||
'clang': ['-g0', '-fno-strict-aliasing', '-gdwarf-2', '-fvisibility=hidden'],
|
||||
'gcc': ['-g0', '-fno-strict-aliasing', '-fvisibility=hidden'],
|
||||
'clang': ['-g0', '-fno-strict-aliasing'],
|
||||
'gcc': ['-g0', '-fno-strict-aliasing'],
|
||||
'owcc': ['-fno-short-enum', '-ffloat-store', '-g0']
|
||||
},
|
||||
'fast': {
|
||||
|
Loading…
Reference in New Issue
Block a user