From f831477c2502b7a2b32cd1fe1b6678a9c87d3fda Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 1 Aug 2008 22:06:11 +0000 Subject: jumpdrive countdown --- src/core/gameserver.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/gameserver.h') diff --git a/src/core/gameserver.h b/src/core/gameserver.h index daf1abb..f05e6c6 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -38,6 +38,9 @@ public: /// show the current time void showtime(); + /// current server game time + inline float time() const { return server_time; } + /*----- mutators -------------------------------------------------- */ /// is called when a player connects to the game server -- cgit v1.2.3