]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 62600a9c4b07fec9deb809985b6c88df86aab09b..ca58d9f0901c8c4484c824e5dc09adf4206f9b71 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)