about summary refs log tree commit diff
path: root/src/engine/client/client.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-15 10:47:50 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-15 10:47:50 +0000
commit8a4cd7627e78d87b44c52bf53786c6891ded6866 (patch)
treed9b3e038554bf10dc4f83c1dcc9e656e6f3f101f /src/engine/client/client.cpp
parent60b252c584adc35f02ce2e00ea4556cc2a81958d (diff)
downloadzcatch-8a4cd7627e78d87b44c52bf53786c6891ded6866.tar.gz
zcatch-8a4cd7627e78d87b44c52bf53786c6891ded6866.zip
added score and time limit. cleaned up the code aswell abit
Diffstat (limited to 'src/engine/client/client.cpp')
-rw-r--r--src/engine/client/client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 41e2c8d3..7c1fda54 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -113,6 +113,11 @@ int client_tick()
 	return current_tick;
 }
 
+int client_tickspeed()
+{
+	return SERVER_TICK_SPEED;
+}
+
 void *snap_find_item(int snapid, int type, int id)
 {
 	// TODO: linear search. should be fixed.