Browse Source

Fix drawing non-latin characters from titles.txt (#261)

hlfixed
Roman Chistokhodov 2 years ago committed by GitHub
parent
commit
1c42a4170c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cl_dll/message.cpp

2
cl_dll/message.cpp

@ -294,7 +294,7 @@ void CHudMessage::MessageDrawScan( client_textmessage_t *pMessage, float time ) @@ -294,7 +294,7 @@ void CHudMessage::MessageDrawScan( client_textmessage_t *pMessage, float time )
for( j = 0; j < m_parms.lineLength; j++ )
{
m_parms.text = pLineStart[j];
m_parms.text = (unsigned char)pLineStart[j];
int next = m_parms.x + gHUD.m_scrinfo.charWidths[m_parms.text];
MessageScanNextChar();

Loading…
Cancel
Save