File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Client/mods/deathmatch/logic
Server/mods/deathmatch/logic/packets Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ void CNetAPI::DoPulse()
295295
296296 // Grab the local player
297297 CClientPlayer* pPlayer = m_pPlayerManager->GetLocalPlayer ();
298- if (pPlayer && !pPlayer-> IsDeadOnNetwork () )
298+ if (pPlayer)
299299 {
300300 unsigned long ulCurrentTime = CClientTime::GetTime ();
301301
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ bool CPlayerPuresyncPacket::Read(NetBitStreamInterface& BitStream)
3636 return false ;
3737
3838 // Only read this packet if it matches the current time context that
39- // player is in.
40- if (!pSourcePlayer->CanUpdateSync (ucTimeContext))
39+ // player is in. Allow position updates for dead players
40+ if (!pSourcePlayer->CanUpdateSync (ucTimeContext) && !pSourcePlayer-> IsDead () )
4141 {
4242 return false ;
4343 }
You can’t perform that action at this time.
0 commit comments