From 318039b6606474264cbfe825311b5c91d736e77b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 15 Oct 2010 19:10:13 +0200 Subject: [PATCH] fix autogeneration of mapinfo with cdtrack --- qcsrc/common/mapinfo.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), " "); -- 2.39.2