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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user