From: Stas'M Date: Sat, 14 Mar 2020 20:40:40 +0000 (+0300) Subject: Netmaster: Additional check for server name in ping response X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=a78f3861cff615c3679e1f4a80403e48106100b6;p=d2df-sdl.git Netmaster: Additional check for server name in ping response --- diff --git a/src/game/g_netmaster.pas b/src/game/g_netmaster.pas index 391d772..8827515 100644 --- a/src/game/g_netmaster.pas +++ b/src/game/g_netmaster.pas @@ -1574,7 +1574,8 @@ begin for I := Low(SL) to High(SL) do if (SL[I].PingAddr.host = SvAddr.host) and (SL[I].PingAddr.port = SvAddr.port) and - (SL[I].Port = tmpsv.Port) then + (SL[I].Port = tmpsv.Port) and + (SL[I].Name = tmpsv.Name) then begin tmpsv.IP := SL[I].IP; SL[I] := tmpsv;