From: Rudolf Polzer Date: Fri, 15 Oct 2010 17:10:13 +0000 (+0200) Subject: fix autogeneration of mapinfo with cdtrack X-Git-Tag: xonotic-v0.1.0preview~300 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=318039b6606474264cbfe825311b5c91d736e77b;p=xonotic%2Fxonotic-data.pk3dir.git fix autogeneration of mapinfo with cdtrack --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 10b594320..835c58f64 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -699,7 +699,7 @@ float MapInfo_Get_ByName(string pFilename, float pAllowGenerate, float pGametype else fputs(fh, strcat("cdtrack ", _MapInfo_Map_worldspawn_music, "\n")); } - else if(_MapInfo_Map_worldspawn_music) + else { n = tokenize_console(cvar_string("g_cdtracks_remaplist")); s = strcat(" ", cvar_string("g_cdtracks_dontusebydefault"), " ");