about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-02-24 18:41:02 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-02-24 18:41:02 +0000
commit91eda24ddc8b56c6022a4d99519f28230e6b3bbf (patch)
treefc9e9313ee26cd9f87a2be7d35be989907ef02e1 /src/game/client
parent4739966e14ca2df24d4f44fb814b6275b9bf2a3c (diff)
downloadzcatch-91eda24ddc8b56c6022a4d99519f28230e6b3bbf.tar.gz
zcatch-91eda24ddc8b56c6022a4d99519f28230e6b3bbf.zip
fixed correction count. fixed miss-behaving server
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/gc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp
index 8446d729..fae66cf0 100644
--- a/src/game/client/gc_client.cpp
+++ b/src/game/client/gc_client.cpp
@@ -1448,7 +1448,7 @@ void render_game()
 			vec2(netobjects.local_character->x, netobjects.local_character->y));
 		
 		char buf[512];
-		str_format(buf, sizeof(buf), "%.2f", speed/2);
+		str_format(buf, sizeof(buf), "%.2f %d", speed/2, netobj_num_corrections());
 		gfx_text(0, 150, 50, 12, buf, -1);
 	}