mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Fix drawing non-latin characters from titles.txt (#261)
This commit is contained in:
parent
4aba145f9e
commit
1c42a4170c
@ -294,7 +294,7 @@ void CHudMessage::MessageDrawScan( client_textmessage_t *pMessage, float time )
|
|||||||
|
|
||||||
for( j = 0; j < m_parms.lineLength; j++ )
|
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];
|
int next = m_parms.x + gHUD.m_scrinfo.charWidths[m_parms.text];
|
||||||
MessageScanNextChar();
|
MessageScanNextChar();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user