summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 1f284ea1..c7d975be 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -564,11 +564,19 @@ void G_InitGame( int levelTime, int randomSeed, int restart )
else
{
char serverinfo[ MAX_INFO_STRING ];
+ qtime_t qt;
+ int t;
trap_GetServerinfo( serverinfo, sizeof( serverinfo ) );
G_LogPrintf( "------------------------------------------------------------\n" );
G_LogPrintf( "InitGame: %s\n", serverinfo );
+
+ t = trap_RealTime( &qt );
+ G_LogPrintf("RealTime: %04i/%02i/%02i %02i:%02i:%02i\n",
+ qt.tm_year+1900, qt.tm_mon+1, qt.tm_mday,
+ qt.tm_hour, qt.tm_min, qt.tm_sec );
+
}
}
else