Skip to content

Commit

Permalink
Render/CTeeRenderInfo: Add missing initialization (reset) for 0.7 mem…
Browse files Browse the repository at this point in the history
…bers
  • Loading branch information
Kaffeine committed Dec 30, 2023
1 parent 68a572a commit 238f9b0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/game/client/render.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ class CTeeRenderInfo
m_GotAirJump = true;
m_TeeRenderFlags = 0;
m_FeetFlipped = false;

for(ColorRGBA &PartColor : m_aColors)
{
PartColor = ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f);
}
m_HatSpriteIndex = 0;
m_BotColor = ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f);
}

CSkin::SSkinTextures m_OriginalRenderSkin;
Expand Down

0 comments on commit 238f9b0

Please sign in to comment.