Reset damage indicators when skipping in demo

Prevent old damage indicators still persisting in demo player after skipping.
This commit is contained in:
Robert Müller 2024-07-26 18:14:12 +02:00
parent cd2a20f1f4
commit f14f00da09

View file

@ -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();