From 6b3e16ea8275d9c6affe4879805ff777e96ba38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Sun, 3 Mar 2024 18:18:49 +0100 Subject: [PATCH] Fix client crash due to truncated skin name --- src/game/server/teeinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/teeinfo.h b/src/game/server/teeinfo.h index a2a72a46d..1200c0de8 100644 --- a/src/game/server/teeinfo.h +++ b/src/game/server/teeinfo.h @@ -6,7 +6,7 @@ class CTeeInfo public: constexpr static const float ms_DarkestLGT7 = 61 / 255.0f; - char m_aSkinName[64] = {'\0'}; + char m_aSkinName[24] = {'\0'}; int m_UseCustomColor = 0; int m_ColorBody = 0; int m_ColorFeet = 0;