mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use CTeeRenderInfo::Reset
To reduce duplicate code and ensure all members are reset.
This commit is contained in:
parent
96889c8d41
commit
4d6a00d827
|
@ -2223,13 +2223,7 @@ void CGameClient::CClientData::Reset()
|
||||||
m_Afk = false;
|
m_Afk = false;
|
||||||
m_Paused = false;
|
m_Paused = false;
|
||||||
m_Spec = false;
|
m_Spec = false;
|
||||||
m_SkinInfo.m_BloodColor = ColorRGBA(1, 1, 1);
|
m_SkinInfo.Reset();
|
||||||
m_SkinInfo.m_ColorableRenderSkin.Reset();
|
|
||||||
m_SkinInfo.m_OriginalRenderSkin.Reset();
|
|
||||||
m_SkinInfo.m_CustomColoredSkin = false;
|
|
||||||
m_SkinInfo.m_ColorBody = ColorRGBA(1, 1, 1);
|
|
||||||
m_SkinInfo.m_ColorFeet = ColorRGBA(1, 1, 1);
|
|
||||||
m_SkinInfo.m_SkinMetrics.Reset();
|
|
||||||
|
|
||||||
m_Solo = false;
|
m_Solo = false;
|
||||||
m_Jetpack = false;
|
m_Jetpack = false;
|
||||||
|
|
Loading…
Reference in a new issue