From f14f00da0928b670459e9fae69b3ba48017cc80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Fri, 26 Jul 2024 18:14:12 +0200 Subject: [PATCH] Reset damage indicators when skipping in demo Prevent old damage indicators still persisting in demo player after skipping. --- src/game/client/components/menus_demo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/client/components/menus_demo.cpp b/src/game/client/components/menus_demo.cpp index 4f61a7b83..8612e10f7 100644 --- a/src/game/client/components/menus_demo.cpp +++ b/src/game/client/components/menus_demo.cpp @@ -78,6 +78,7 @@ void CMenus::HandleDemoSeeking(float PositionToSeek, float TimeToSeek) if((PositionToSeek >= 0.0f && PositionToSeek <= 1.0f) || TimeToSeek != 0.0f) { m_pClient->m_Chat.Reset(); + m_pClient->m_DamageInd.OnReset(); m_pClient->m_InfoMessages.OnReset(); m_pClient->m_Particles.OnReset(); m_pClient->m_Sounds.OnReset();