]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Never show mapinfo warnings in the menu code, since they don't apply to the map being...
authorMario <mario.mario@y7mail.com>
Wed, 18 Dec 2019 14:37:10 +0000 (00:37 +1000)
committerMario <mario.mario@y7mail.com>
Wed, 18 Dec 2019 14:37:10 +0000 (00:37 +1000)
qcsrc/common/mapinfo.qc

index 3e6478b2db50ca25a54716a137d75ca7ba01e4e6..1d6f4897b81df2ea81f0ee9638c9d93e44172c52 100644 (file)
@@ -9,10 +9,10 @@
     #include <common/monsters/_mod.qh>
 #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