mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
replace header preprocessor conditional with cpp function
This commit is contained in:
committed by
majcosta
parent
b5ec955324
commit
f8f8461a65
@@ -3075,11 +3075,11 @@ void ApologizeOverrideAndForceUpdateEverything()
|
||||
//Draw it
|
||||
DrawButton( iSummaryButton[ SUMMARY_BACKGROUND ] );
|
||||
InvalidateRegion( 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT );
|
||||
SetFont( HUGEFONT );
|
||||
SetFont( GetHugeFont() );
|
||||
SetFontForeground( FONT_RED );
|
||||
SetFontShadow( FONT_NEARBLACK );
|
||||
swprintf( str, pApologizeOverrideAndForceUpdateEverythingText[0] );
|
||||
mprintf( (iScreenWidthOffset + 320) - StringPixLength( str, HUGEFONT )/2, iScreenHeightOffset + 105, str );
|
||||
mprintf( (iScreenWidthOffset + 320) - StringPixLength( str, GetHugeFont() )/2, iScreenHeightOffset + 105, str );
|
||||
SetFont( FONT10ARIAL );
|
||||
SetFontForeground( FONT_YELLOW );
|
||||
swprintf( str, pApologizeOverrideAndForceUpdateEverythingText[1], gusNumberOfMapsToBeForceUpdated );
|
||||
|
||||
Reference in New Issue
Block a user