From c11c0174ece92b4502648ad33653975bfdfc39a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 5 May 2008 17:45:30 +0000 Subject: lights with entity color, sunlight, network stats --- src/core/netclient.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/netclient.cc') diff --git a/src/core/netclient.cc b/src/core/netclient.cc index 0c0d72a..b90f164 100644 --- a/src/core/netclient.cc +++ b/src/core/netclient.cc @@ -10,6 +10,7 @@ #include "sys/sys.h" #include "core/net.h" #include "core/application.h" +#include "core/stats.h" namespace core { @@ -145,6 +146,7 @@ void NetClient::transmit(int serverfd) } sendq.erase(0, bytes_sent); + Stats::network_bytes_sent += bytes_sent; } sendq.clear(); -- cgit v1.2.3