mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 09:12:19 +00:00
Merge 8aa8c4ee01
into 0f12044fcd
This commit is contained in:
commit
b6fc318d4f
|
@ -172,10 +172,12 @@ void CNamePlates::RenderNameplate(vec2 Position, const CNetObj_PlayerInfo *pPlay
|
|||
|
||||
if(g_Config.m_ClNameplatesClan)
|
||||
{
|
||||
YOffset -= FontSizeClan;
|
||||
if(NamePlate.m_ClanTextContainerIndex.Valid())
|
||||
{
|
||||
YOffset -= FontSizeClan;
|
||||
TextRender()->RenderTextContainer(NamePlate.m_ClanTextContainerIndex, TColor, TOutlineColor, Position.x - TextRender()->GetBoundingBoxTextContainer(NamePlate.m_ClanTextContainerIndex).m_W / 2.0f, YOffset);
|
||||
}
|
||||
}
|
||||
|
||||
if(g_Config.m_ClNameplatesFriendMark && ClientData.m_Friend)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue