]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also accept ' in map names
authorRudolf Polzer <divverent@xonotic.org>
Sat, 27 Aug 2011 15:40:24 +0000 (17:40 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 27 Aug 2011 15:40:24 +0000 (17:40 +0200)
qcsrc/common/mapinfo.qc

index 57ccc20b4aa6e027e4163e513eaf47e19df6c00f..469c86a2b68f18822121160a4cea454e0540099e 100644 (file)
@@ -810,6 +810,7 @@ float MapInfo_isRedundant(string fn, string t)
        t = strreplace(":", "-", t);
        t = strreplace(" ", "-", t);
        t = strreplace("_", "-", t);
+       t = strreplace("'", "-", t);
 
        if(!strcasecmp(fn, t))
                return TRUE;