From: Rudolf Polzer Date: Sat, 27 Aug 2011 15:38:31 +0000 (+0200) Subject: fix a typo to better show map names in the menu X-Git-Tag: xonotic-v0.5.0~50 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=64d865fff865632327b0ee7acc825dfe9a41cc20;p=xonotic%2Fxonotic-data.pk3dir.git fix a typo to better show map names in the menu --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 7afa131da..57ccc20b4 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -1083,7 +1083,7 @@ float MapInfo_Get_ByName(string pFilename, float pAllowGenerate, float pGametype } } - if(MapInfo_Map_titlestring == "") + if(MapInfo_Map_title == "<TITLE>") MapInfo_Map_titlestring = MapInfo_Map_bspname; else if(MapInfo_isRedundant(MapInfo_Map_bspname, MapInfo_Map_title)) MapInfo_Map_titlestring = MapInfo_Map_title;