mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
Reset damage indicators when skipping in demo
Prevent old damage indicators still persisting in demo player after skipping.
This commit is contained in:
parent
cd2a20f1f4
commit
f14f00da09
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue