From: Mario Date: Sun, 16 Nov 2014 12:13:36 +0000 (+1100) Subject: Fix assault and race legacy gametype names X-Git-Tag: xonotic-v0.8.0~144^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6c2ebdaf6d948cefa22185dcb67923f1fda2a807;p=xonotic%2Fxonotic-data.pk3dir.git Fix assault and race legacy gametype names --- diff --git a/qcsrc/common/mapinfo.qc b/qcsrc/common/mapinfo.qc index 830c86db9..1c7f7163c 100644 --- a/qcsrc/common/mapinfo.qc +++ b/qcsrc/common/mapinfo.qc @@ -688,6 +688,18 @@ float MapInfo_Type_FromString(string t) t = "inv"; print("'. Should use '", t, "'.\n"); } + if(t == "assault") + { + print("MapInfo_Type_FromString (probably ", MapInfo_Map_bspname, "): using deprecated name '", t); + t = "as"; + print("'. Should use '", t, "'.\n"); + } + if(t == "race") + { + print("MapInfo_Type_FromString (probably ", MapInfo_Map_bspname, "): using deprecated name '", t); + t = "rc"; + print("'. Should use '", t, "'.\n"); + } if(t == "all") return MAPINFO_TYPE_ALL; for(e = MapInfo_Type_first; e; e = e.enemy)