From: Mario Date: Mon, 12 Feb 2018 05:26:38 +0000 (+1000) Subject: Disable the 'type' warning (complaining about legacy maps is just spam) X-Git-Tag: xonotic-v0.8.5~2326 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6729b4872ef3a1d49ee3b86f8a1e4b1406db68e0;p=xonotic%2Fxonotic-data.pk3dir.git Disable the 'type' warning (complaining about legacy maps is just spam) --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 62600a9c4..ca58d9f09 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -935,8 +935,8 @@ float MapInfo_Get_ByName_NoFallbacks(string pFilename, int pAllowGenerate, Gamet { t = car(s); s = cdr(s); Gametype f = MapInfo_Type_FromString(t); - if(!autocvar_g_mapinfo_ignore_warnings) - LOG_WARN("Map ", pFilename, " contains the legacy 'type' keyword which is deprecated and will be removed in the future. Please migrate the mapinfo file to 'gametype'."); + //if(!autocvar_g_mapinfo_ignore_warnings) + //LOG_WARN("Map ", pFilename, " contains the legacy 'type' keyword which is deprecated and will be removed in the future. Please migrate the mapinfo file to 'gametype'."); if(f) _MapInfo_Map_ApplyGametype (s, pGametypeToSet, f, true); else if(!autocvar_g_mapinfo_ignore_warnings)