From 238f9b0dffed7b6e0391023ad49e0ba37ce9cccd Mon Sep 17 00:00:00 2001 From: Alexander Akulich Date: Sat, 30 Dec 2023 18:34:31 +0300 Subject: [PATCH] Render/CTeeRenderInfo: Add missing initialization (reset) for 0.7 members --- src/game/client/render.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/game/client/render.h b/src/game/client/render.h index a1f15d5dea5..4e929b0776f 100644 --- a/src/game/client/render.h +++ b/src/game/client/render.h @@ -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;