From 0ca9423b8b2cf7bd1435fb09eba7a9f50d444864 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 19 Dec 2010 16:51:45 +0200 Subject: day/night working client side --- src/connection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index 4e26c43e9..e0a201773 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -445,6 +445,7 @@ Peer::Peer(u16 a_id, Address a_address) address = a_address; timeout_counter = 0.0; //resend_timeout = RESEND_TIMEOUT_MINIMUM; + ping_timer = 0.0; resend_timeout = 0.5; avg_rtt = -1.0; has_sent_with_id = false; -- cgit v1.2.3