r1761 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jul 19 05:12:17 EDT 2006


Author: div0
Date: 2006-07-19 05:12:17 -0400 (Wed, 19 Jul 2006)
New Revision: 1761

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
fixed obvious bug in map selection... still there is some bug hidden there


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2006-07-18 12:56:03 UTC (rev 1760)
+++ trunk/data/qcsrc/server/g_world.qc	2006-07-19 09:12:17 UTC (rev 1761)
@@ -532,11 +532,14 @@
 				}
 				if( lOldCurrent == lCurrent ) {
 					// we couldn't find a valid map at all
-					if (pass == 1 && !found_but_wrong_size)
+					if (pass == 1)
 					{
-						bprint( "Maplist is bad/messed up. Not one good mapcfg can be found in it!  Resetting it to default map list.\n" );
-						cvar_set("g_maplist", cvar_string("g_maplist_defaultlist"));
-						// let the loop restart with the default list now
+						if(!found_but_wrong_size)
+						{
+							bprint( "Maplist is bad/messed up. Not one good mapcfg can be found in it!  Resetting it to default map list.\n" );
+							cvar_set("g_maplist", cvar_string("g_maplist_defaultlist"));
+							// let the loop restart with the default list now
+						}
 					}
 					else
 					{




More information about the nexuiz-commits mailing list