From 6729b4872ef3a1d49ee3b86f8a1e4b1406db68e0 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 12 Feb 2018 15:26:38 +1000 Subject: [PATCH] Disable the 'type' warning (complaining about legacy maps is just spam) --- qcsrc/common/mapinfo.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2