diff --git a/Client/mods/deathmatch/logic/CClientPed.cpp b/Client/mods/deathmatch/logic/CClientPed.cpp index d6294285af..2cafa4aaa3 100644 --- a/Client/mods/deathmatch/logic/CClientPed.cpp +++ b/Client/mods/deathmatch/logic/CClientPed.cpp @@ -1970,6 +1970,10 @@ void CClientPed::Kill(eWeaponType weaponType, unsigned char ucBodypart, bool bSt if (IsWearingGoggles()) SetWearingGoggles(false, false); + // Clear the targeting marker so it doesn't stay on screen after death + if (m_pPlayerPed) + m_pPlayerPed->SetTargetedEntity(nullptr); + m_bDead = true; }