From dcf0fe592cf01d55fd147fa9be56942acf40e1ec Mon Sep 17 00:00:00 2001 From: div0 Date: Wed, 19 Jul 2006 09:12:17 +0000 Subject: [PATCH] fixed obvious bug in map selection... still there is some bug hidden there git-svn-id: svn://svn.icculus.org/nexuiz/trunk@1761 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/g_world.qc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index 78e07c13f..3bf838807 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -532,11 +532,14 @@ void() GotoNextMap = } 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 { -- 2.39.2