Updated the SDK with the latest code from the TF and HL2 branches.

This commit is contained in:
Michael Sartain
2014-10-02 08:25:55 -07:00
parent 56accfdb9c
commit 55ed12f8d1
767 changed files with 119642 additions and 122204 deletions

View File

@@ -748,9 +748,12 @@ void RichText::Paint()
_currentTextClickable = m_CachedRenderState.textClickable;
renderState.textClickable = _currentTextClickable;
renderState.textColor = m_FormatStream[renderState.formatStreamIndex].color;
if ( m_FormatStream.IsValidIndex( renderState.formatStreamIndex ) )
renderState.textColor = m_FormatStream[renderState.formatStreamIndex].color;
CalculateFade( renderState );
renderState.formatStreamIndex++;
if ( _currentTextClickable )