summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-17 17:18:50 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-17 17:18:50 +0300
commit558a133044ac638dafb7b0e9452a4d7e435177bf (patch)
tree32b7a6518f3e11d688e9ea723897ddc366ef532e /src/client.h
parent5037efdea9bd3fc86c1df5200e71741c98627b00 (diff)
downloadminetest-558a133044ac638dafb7b0e9452a4d7e435177bf.tar.gz
minetest-558a133044ac638dafb7b0e9452a4d7e435177bf.tar.bz2
minetest-558a133044ac638dafb7b0e9452a4d7e435177bf.zip
Display RTT (round trip time, ping) on client status text
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 07ac930c9..52dd66ca2 100644
--- a/src/client.h
+++ b/src/client.h
@@ -301,6 +301,8 @@ public:
return m_access_denied_reason;
}
+ float getRTT(void);
+
private:
// Virtual methods from con::PeerHandler