Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Client/mods/deathmatch/logic/CNetAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void CNetAPI::DoPulse()

// Grab the local player
CClientPlayer* pPlayer = m_pPlayerManager->GetLocalPlayer();
if (pPlayer && !pPlayer->IsDeadOnNetwork())
if (pPlayer)
{
unsigned long ulCurrentTime = CClientTime::GetTime();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ bool CPlayerPuresyncPacket::Read(NetBitStreamInterface& BitStream)
if (!BitStream.Read(ucTimeContext))
return false;

// Only read this packet if it matches the current time context that
// player is in.
// Only read this packet if it matches the current time context
// Time context is validated for all players (alive and dead) to prevent stale packets
if (!pSourcePlayer->CanUpdateSync(ucTimeContext))
{
return false;
Expand Down