From: Mario Date: Sun, 21 Oct 2018 16:52:27 +0000 (+1000) Subject: Merge branch 'master' into Mario/mapinfo_title_fix X-Git-Tag: xonotic-v0.8.5~1750^2~1 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=b9998b31fc75c66b601e66241350b10ca694809f;hp=2ed18f83d8ee7479c3c3a0e86497bdcc85bb39a4 Merge branch 'master' into Mario/mapinfo_title_fix --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 5cfc878514..62e03d21b6 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -739,6 +739,7 @@ float MapInfo_isRedundant(string fn, string t) // we allow the visible title to have punctuation the file name does // not, but not vice versa t = strreplace("-", "", t); + fn = strreplace("-", "", fn); if(!strcasecmp(fn, t)) return true;