Blob Blame History Raw
diff -up quake3-1.34-rc4/code/qcommon/files.c~ quake3-1.34-rc4/code/qcommon/files.c
--- quake3-1.34-rc4/code/qcommon/files.c~	2008-01-11 15:44:10.000000000 +0100
+++ quake3-1.34-rc4/code/qcommon/files.c	2008-01-11 15:44:10.000000000 +0100
@@ -3279,6 +3279,11 @@ void FS_Restart( int checksumFeed ) {
 
 	// clear pak references
 	FS_ClearPakReferences(0);
+	
+	// some servers don't set fs_game even though they should (openarena)
+	// so if fs_game is unset here, use the one set from the cmdline
+	if (!fs_gamedirvar->string[0])
+		Com_StartupVariable( "fs_game" );
 
 	// try to start up normally
 	FS_Startup( BASEGAME );