mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Scale down tee in spec view
This commit is contained in:
parent
6aa81c2b20
commit
b86d96fc95
|
@ -391,6 +391,7 @@ void CSpectator::OnRender()
|
||||||
}
|
}
|
||||||
|
|
||||||
CTeeRenderInfo TeeInfo = m_pClient->m_aClients[i].m_RenderInfo;
|
CTeeRenderInfo TeeInfo = m_pClient->m_aClients[i].m_RenderInfo;
|
||||||
|
TeeInfo.m_Size *= ScaleY;
|
||||||
RenderTools()->RenderTee(CAnimState::GetIdle(), &TeeInfo, EMOTE_NORMAL, vec2(1.0f, 0.0f), vec2(Width/2.0f+x+20.0f, Height/2.0f+y+20.0f));
|
RenderTools()->RenderTee(CAnimState::GetIdle(), &TeeInfo, EMOTE_NORMAL, vec2(1.0f, 0.0f), vec2(Width/2.0f+x+20.0f, Height/2.0f+y+20.0f));
|
||||||
|
|
||||||
y += LineHeight;
|
y += LineHeight;
|
||||||
|
|
Loading…
Reference in a new issue