1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 02:11:06 +09:00

changed remaining float representations of time to doubles

This commit is contained in:
Michael Lidgren
2015-02-06 18:57:42 +01:00
parent 6f52612619
commit b3fffb52e5
6 changed files with 16 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ namespace Lidgren.Network
public NetIncomingMessage RemoteHailMessage { get { return m_remoteHailMessage; } }
// heartbeat called when connection still is in m_handshakes of NetPeer
internal void UnconnectedHeartbeat(float now)
internal void UnconnectedHeartbeat(double now)
{
m_peer.VerifyNetworkThread();
@@ -233,7 +233,7 @@ namespace Lidgren.Network
m_localHailMessage = null;
m_handshakeAttempts = 0;
SendConnectResponse((float)NetTime.Now, false);
SendConnectResponse(NetTime.Now, false);
}
/// <summary>
@@ -250,7 +250,7 @@ namespace Lidgren.Network
m_localHailMessage = localHail;
m_handshakeAttempts = 0;
SendConnectResponse((float)NetTime.Now, false);
SendConnectResponse(NetTime.Now, false);
}
/// <summary>