Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-05 17:45:30 +0000
committerStijn Buys <ingar@osirion.org>2008-05-05 17:45:30 +0000
commitc11c0174ece92b4502648ad33653975bfdfc39a0 (patch)
tree88860bfcbb7206834e61533af79f7631b5638cb2 /src/core/netclient.cc
parent7218e3bd4616d4706090ec47d72845a2bb89c6a3 (diff)
lights with entity color, sunlight, network stats
Diffstat (limited to 'src/core/netclient.cc')
-rw-r--r--src/core/netclient.cc2
1 files changed, 2 insertions, 0 deletions
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();