From: Rudolf Polzer Date: Sun, 21 Aug 2011 18:22:57 +0000 (+0200) Subject: don't add hidden maps by the "All" button in the menu X-Git-Tag: xonotic-v0.5.0~99 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6803631a62feb07ed1fec20b44d51481e4b18f36;p=xonotic%2Fxonotic-data.pk3dir.git don't add hidden maps by the "All" button in the menu --- diff --git a/qcsrc/menu/xonotic/maplist.c b/qcsrc/menu/xonotic/maplist.c index 69757126b..699166776 100644 --- a/qcsrc/menu/xonotic/maplist.c +++ b/qcsrc/menu/xonotic/maplist.c @@ -242,7 +242,7 @@ void MapList_All(entity btn, entity me) { float i; string s; - MapInfo_FilterGametype(MAPINFO_TYPE_ALL, 0, 0, MAPINFO_FLAG_FORBIDDEN, 0); // all + MapInfo_FilterGametype(MAPINFO_TYPE_ALL, 0, 0, MAPINFO_FLAG_FORBIDDEN | MAPINFO_FLAG_HIDDEN, 0); // all s = ""; for(i = 0; i < MapInfo_count; ++i) s = strcat(s, " ", MapInfo_BSPName_ByID(i));