diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-01 22:06:11 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-01 22:06:11 +0000 |
commit | f831477c2502b7a2b32cd1fe1b6678a9c87d3fda (patch) | |
tree | cae0d1c20354ee9df4eccce2b3763c95c18bf525 /src/core | |
parent | d2f36485dd3fbda7c9eb212ac9ffde919af5f8e1 (diff) |
jumpdrive countdown
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gameserver.h | 3 |
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 |