Added a lil bit of code to the whole ping thing

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1043 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
bushing
2007-03-09 19:42:42 +00:00
parent a21f72cea2
commit fe25a0fa62

View File

@@ -1052,6 +1052,7 @@ namespace libsecondlife
String retval = "Pong: "+(Environment.TickCount-simulator.LastPingSent);
if (pong.PingID.PingID != (simulator.LastPingID+1))
retval += " (gap of "+(pong.PingID.PingID - simulator.LastPingID+1)+")";
else simulator.LastLag=Environment.TickCount-simulator.LastPingSent;
Client.Log(retval, Helpers.LogLevel.Info);
}