X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_player.pas;h=89e3deee913bc70cc431c07d9a8c6bdb777b5b16;hp=759450b25be60295da39a099a2a12d68e6ac2bdf;hb=37a525107ea208b80af57fff906ac083c9c04945;hpb=6b7dd2e4f2c9add75db81c405f67130b6237efe8 diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 759450b..89e3dee 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -4927,7 +4927,7 @@ begin DoLerp(4); if NetServer then - if FClientID >= 0 then + if (FClientID >= 0) and (NetClients[FClientID].Peer <> nil) then begin FPing := NetClients[FClientID].Peer^.lastRoundTripTime; if NetClients[FClientID].Peer^.packetsSent > 0 then