We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce5c12 commit 906ff33Copy full SHA for 906ff33
MTA10/core/CGraphics.cpp
@@ -1085,7 +1085,7 @@ bool CGraphics::LoadStandardDXFonts ( void )
1085
for ( uint i = 0 ; i < m_FontResourceNames.size () ; i++ )
1086
{
1087
SString strPathFilename = CalcMTASAPath ( "MTA\\cgui\\" + m_FontResourceNames[i] );
1088
- if ( AddFontResourceEx ( strPathFilename, FR_PRIVATE, 0 ) )
+ if ( !AddFontResourceEx ( strPathFilename, FR_PRIVATE, 0 ) )
1089
1090
SString strFileMd5 = GenerateHashHexStringFromFile ( EHashFunctionType::MD5, strPathFilename );
1091
uint uiFileSize = (uint)FileSize( strPathFilename );
0 commit comments