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.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index bffbdf7..9bf9b38 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -774,15 +774,13 @@ void G_InitGame( int levelTime, int randomSeed, int restart )
{
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 );
+ 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 );
@@ -2873,7 +2871,6 @@ void G_RunFrame( int levelTime )
int i;
gentity_t *ent;
int msec;
- int start, end;
// if we are waiting for the level to restart, do nothing
if( level.restarted )
@@ -2910,7 +2907,6 @@ void G_RunFrame( int levelTime )
//
// go through all allocated objects
//
- start = trap_Milliseconds( );
ent = &g_entities[ 0 ];
for( i = 0; i < level.num_entities; i++, ent++ )
@@ -2989,9 +2985,6 @@ void G_RunFrame( int levelTime )
G_RunThink( ent );
}
- end = trap_Milliseconds();
-
- start = trap_Milliseconds();
// perform final fixups on the players
ent = &g_entities[ 0 ];
@@ -3005,8 +2998,6 @@ void G_RunFrame( int levelTime )
// save position information for all active clients
G_UnlaggedStore( );
- end = trap_Milliseconds();
-
//TA:
G_CountSpawns( );
G_CalculateBuildPoints( );