mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
Keep showing last checkpoint after kill
Some maps kill you quickly and you can't see how good your last run was, for example "Buckle Up".
This commit is contained in:
parent
e0d6fa4670
commit
95e4418026
|
@ -877,15 +877,6 @@ void CHud::OnMessage(int MsgType, void *pRawMsg)
|
||||||
m_CheckpointTick = Client()->GameTick(g_Config.m_ClDummy);
|
m_CheckpointTick = Client()->GameTick(g_Config.m_ClDummy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(MsgType == NETMSGTYPE_SV_KILLMSG)
|
|
||||||
{
|
|
||||||
CNetMsg_Sv_KillMsg *pMsg = (CNetMsg_Sv_KillMsg *)pRawMsg;
|
|
||||||
if(pMsg->m_Victim == m_pClient->m_Snap.m_LocalClientID)
|
|
||||||
{
|
|
||||||
m_CheckpointTick = 0;
|
|
||||||
m_DDRaceTime = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if(MsgType == NETMSGTYPE_SV_RECORD)
|
else if(MsgType == NETMSGTYPE_SV_RECORD)
|
||||||
{
|
{
|
||||||
CNetMsg_Sv_Record *pMsg = (CNetMsg_Sv_Record *)pRawMsg;
|
CNetMsg_Sv_Record *pMsg = (CNetMsg_Sv_Record *)pRawMsg;
|
||||||
|
|
Loading…
Reference in a new issue