From 8a4cd7627e78d87b44c52bf53786c6891ded6866 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 15 Jul 2007 10:47:50 +0000 Subject: added score and time limit. cleaned up the code aswell abit --- src/engine/client/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/engine/client/client.cpp') 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. -- cgit 1.4.1