mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 17:14:18 +00:00
parent
a8219530b1
commit
81de29565d
|
@ -1303,6 +1303,8 @@ void CChat::OnRender()
|
||||||
RenderInfo.m_ColorFeet = Line.m_ColorFeet;
|
RenderInfo.m_ColorFeet = Line.m_ColorFeet;
|
||||||
RenderInfo.m_Size = TeeSize;
|
RenderInfo.m_Size = TeeSize;
|
||||||
|
|
||||||
|
if(Client()->IsSixup())
|
||||||
|
{
|
||||||
for(int Part = 0; Part < protocol7::NUM_SKINPARTS; Part++)
|
for(int Part = 0; Part < protocol7::NUM_SKINPARTS; Part++)
|
||||||
{
|
{
|
||||||
RenderInfo.m_Sixup.m_aColors[Part] = Line.m_Sixup.m_aColors[Part];
|
RenderInfo.m_Sixup.m_aColors[Part] = Line.m_Sixup.m_aColors[Part];
|
||||||
|
@ -1310,6 +1312,7 @@ void CChat::OnRender()
|
||||||
RenderInfo.m_Sixup.m_HatSpriteIndex = Line.m_Sixup.m_HatSpriteIndex;
|
RenderInfo.m_Sixup.m_HatSpriteIndex = Line.m_Sixup.m_HatSpriteIndex;
|
||||||
RenderInfo.m_Sixup.m_HatTexture = Line.m_Sixup.m_HatTexture;
|
RenderInfo.m_Sixup.m_HatTexture = Line.m_Sixup.m_HatTexture;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
float RowHeight = FontSize() + RealMsgPaddingY;
|
float RowHeight = FontSize() + RealMsgPaddingY;
|
||||||
float OffsetTeeY = TeeSize / 2.0f;
|
float OffsetTeeY = TeeSize / 2.0f;
|
||||||
|
|
Loading…
Reference in a new issue