Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-08-01 22:06:11 +0000
committerStijn Buys <ingar@osirion.org>2008-08-01 22:06:11 +0000
commitf831477c2502b7a2b32cd1fe1b6678a9c87d3fda (patch)
treecae0d1c20354ee9df4eccce2b3763c95c18bf525 /src/core/gameserver.h
parentd2f36485dd3fbda7c9eb212ac9ffde919af5f8e1 (diff)
jumpdrive countdown
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r--src/core/gameserver.h3
1 files changed, 3 insertions, 0 deletions
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