about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-02 12:29:19 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-02 12:29:19 +0000
commitcebda9790bfa7d109014d5871d79e9ecd88c7d50 (patch)
treed315b73baf879c0414cf652b89690796cc2f1f3b /src/engine/client
parentbddc6ec6cc369e87d9dd0c0d1749bb871e1537a8 (diff)
downloadzcatch-cebda9790bfa7d109014d5871d79e9ecd88c7d50.tar.gz
zcatch-cebda9790bfa7d109014d5871d79e9ecd88c7d50.zip
some cleanups. splitted e_network.c into several files. continued on the ban support
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/ec_client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c
index 1a6a24f1..8d8bdad7 100644
--- a/src/engine/client/ec_client.c
+++ b/src/engine/client/ec_client.c
@@ -586,12 +586,12 @@ static void client_debug_render()
 		udp = 8
 		total = 42
 	*/
-	
 	frametime_avg = frametime_avg*0.9f + frametime*0.1f;
-	str_format(buffer, sizeof(buffer), "ticks: %8d %8d snaploss: %d  mem %dk   gfxmem: %dk  fps: %3d",
+	str_format(buffer, sizeof(buffer), "ticks: %8d %8d snaploss: %d  mem %dk %d  gfxmem: %dk  fps: %3d",
 		current_tick, current_predtick,
 		snaploss,
-		mem_allocated()/1024,
+		mem_stats()->allocated/1024,
+		mem_stats()->total_allocations,
 		gfx_memory_usage()/1024,
 		(int)(1.0f/frametime_avg));
 	gfx_quads_text(2, 2, 16, buffer);