From: Mario Date: Wed, 18 Dec 2019 14:37:10 +0000 (+1000) Subject: Never show mapinfo warnings in the menu code, since they don't apply to the map being... X-Git-Tag: xonotic-v0.8.5~1210 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f734a3c5fe8b3b42b2f5c7ae509df7f6ce71739b;p=xonotic%2Fxonotic-data.pk3dir.git Never show mapinfo warnings in the menu code, since they don't apply to the map being played --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 3e6478b2d..1d6f4897b 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -9,10 +9,10 @@ #include #endif -bool autocvar_g_mapinfo_ignore_warnings; #ifdef MENUQC -#define WARN_COND (!autocvar_g_mapinfo_ignore_warnings) +#define WARN_COND false #else +bool autocvar_g_mapinfo_ignore_warnings; #define WARN_COND (!autocvar_g_mapinfo_ignore_warnings && MapInfo_Map_bspname == mi_shortname) #endif