Skip to content
This repository
Browse code

Don't show pak extra info after startup

  • Loading branch information...
commit 68457d6b1a9ca1754b3502eb443d85047bbbd6c6 1 parent 814060d
Harsh Modi authored August 07, 2012

Showing 1 changed file with 9 additions and 3 deletions. Show diff stats Hide diff stats

  1. 12  src/engine/qcommon/files.c
12  src/engine/qcommon/files.c
@@ -3790,7 +3790,10 @@ void FS_AddGameDirectory( const char *path, const char *dir )
3790 3790
 
3791 3791
 		if ( !( pak = FS_LoadZipFile( pakfile, pakfiles[ pakfilesi ] ) ) )
3792 3792
 		{
3793  
-			Com_Printf( " ( ^1INVALID PK3 )\n" );
  3793
+			if ( !com_fullyInitialized )
  3794
+			{
  3795
+				Com_Printf( " ( ^1INVALID PK3 )\n" );
  3796
+			}
3794 3797
 			pakfilesi++;
3795 3798
 			continue;
3796 3799
 		}
@@ -3801,8 +3804,11 @@ void FS_AddGameDirectory( const char *path, const char *dir )
3801 3804
 
3802 3805
 		fs_packFiles += pak->numfiles;
3803 3806
 
3804  
-		Com_Printf( " ( %d files )\n", pak->numfiles );
3805  
-
  3807
+		if ( !com_fullyInitialized )
  3808
+		{
  3809
+			Com_Printf( " ( %d files )\n", pak->numfiles );
  3810
+		}
  3811
+		
3806 3812
 		search = Z_Malloc( sizeof( searchpath_t ) );
3807 3813
 		search->pack = pak;
3808 3814
 		search->next = fs_searchpaths;

0 notes on commit 68457d6

Please sign in to comment.
Something went wrong with that request. Please try again.