Disable the 'type' warning (complaining about legacy maps is just spam)
authorMario <mario@smbclan.net>
Mon, 12 Feb 2018 05:26:38 +0000 (15:26 +1000)
committerMario <mario@smbclan.net>
Mon, 12 Feb 2018 05:26:38 +0000 (15:26 +1000)
qcsrc/common/mapinfo.qc

index 62600a9..ca58d9f 100644 (file)
@@ -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)