[quake3-commits] r2330 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Oct 25 21:27:16 EDT 2012


Author: ztm
Date: 2012-10-25 21:27:16 -0400 (Thu, 25 Oct 2012)
New Revision: 2330

Modified:
   trunk/code/qcommon/files.c
Log:
Fix restoring fs_game when default.cfg is missing.

Modified: trunk/code/qcommon/files.c
===================================================================
--- trunk/code/qcommon/files.c	2012-10-26 01:23:06 UTC (rev 2329)
+++ trunk/code/qcommon/files.c	2012-10-26 01:27:16 UTC (rev 2330)
@@ -3828,7 +3828,7 @@
 		if (lastValidBase[0]) {
 			FS_PureServerSetLoadedPaks("", "");
 			Cvar_Set("fs_basepath", lastValidBase);
-			Cvar_Set("fs_gamedirvar", lastValidGame);
+			Cvar_Set("fs_game", lastValidGame);
 			lastValidBase[0] = '\0';
 			lastValidGame[0] = '\0';
 			FS_Restart(checksumFeed);



More information about the quake3-commits mailing list